You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using Microsoft.EntityFrameworkCore;using Volo.Abp.Domain.Entities;
namespace Shentun.Peis.Models{ /// <summary>
/// 退费支付方式
/// </summary>
[Table("charge_back_pay")] [Index(nameof(ChargeBackId), nameof(PayModeId), Name = "IX_charge_back_pay_pay_mode_id", IsUnique = true)] public class ChargeBackPay : Entity<Guid>, IHasConcurrencyStamp {
[Column("charge_back_id")] public Guid ChargeBackId { get; set; }
/// <summary>
/// 支付方式ID
/// </summary>
[Column("pay_mode_id")] [StringLength(4)] public string PayModeId { get; set; } = null!;
/// <summary>
/// 退费金额
/// </summary>
[Column("back_moeny")] [Precision(10, 2)] public decimal BackMoeny { get; set; }
/// <summary>
/// 卡记录ID
/// </summary>
[Column("card_bill_id")] public Guid? CardBillId { get; set; }
[Column("concurrency_stamp")] public string ConcurrencyStamp { get; set; }
/// <summary>
///
/// </summary>
[ForeignKey(nameof(ChargeBackId))] [InverseProperty("ChargeBackPays")] public virtual ChargeBack ChargeBack { get; set; } = null!; [ForeignKey(nameof(PayModeId))] [InverseProperty("ChargeBackPays")] public virtual PayMode PayMode { get; set; } = null!;
}}
|