38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace CRM.Core.Model.Entity
|
|
{
|
|
[Table("wx_szzyorderrefundcontract")]
|
|
public class Wx_SzzyOrderRefundContract
|
|
{
|
|
public Wx_SzzyOrderRefundContract()
|
|
{
|
|
}
|
|
|
|
public Wx_SzzyOrderRefundContract(int orderId, string contract, decimal refundPrice, int? contractStatus, DateTime? contractTime, string contractKey, int channel)
|
|
{
|
|
OrderId = orderId;
|
|
Contract = contract;
|
|
RefundPrice = refundPrice;
|
|
ContractStatus = contractStatus;
|
|
ContractTime = contractTime;
|
|
ContractKey = contractKey;
|
|
Channel = channel;
|
|
CTime = DateTime.Now;
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int OrderId { get; set; }
|
|
|
|
public string Contract { get; set; }
|
|
public decimal RefundPrice { get; set; }
|
|
public int? ContractStatus { get; set; }
|
|
public DateTime? ContractTime { get; set; }
|
|
public string ContractKey { get; set; }
|
|
public int Channel { get; set; }
|
|
public DateTime CTime { get; set; }
|
|
}
|
|
} |