using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CRM.Core.Model.Entity
{
[Table("wx_szzyorderrefund")]
public class WX_SzzyOrderRefund
{
public WX_SzzyOrderRefund()
{ }
public WX_SzzyOrderRefund(long id, int orderid, decimal refundprice, string account, string username, int refundtype, string refundtypename, DateTime? refunddate, string remark, string att, string att2, string companycode, int? channel, int? isacturalrefund)
{
this.id = id;
this.orderid = orderid;
this.refundprice = refundprice;
this.account = account;
this.username = username;
this.refundtype = refundtype;
this.refundtypename = refundtypename;
this.refunddate = refunddate;
this.remark = remark;
this.att = att;
this.auditstatus = 0;
this.ctime = DateTime.Now;
this.att2 = att2;
this.companycode = companycode;
this.channel = channel;
this.isacturalrefund = isacturalrefund;
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public long id { get; set; }
public int orderid { get; set; }
public decimal refundprice { get; set; }
public string account { get; set; }
public string username { get; set; }
public int refundtype { get; set; }
public string refundtypename { get; set; }
public DateTime? refunddate { get; set; }
public string remark { get; set; }
public string att { get; set; }
public int auditstatus { get; set; }
public int? auditor { get; set; }
public string auditorname { get; set; }
public DateTime? audittime { get; set; }
public DateTime ctime { get; set; }
public string att2 { get; set; }
public string companycode { get; set; }
public int? channel { get; set; }
public int isdelete { get; set; }
public int ismorepay { get; set; }
public int? creator { get; set; }
public string creatorname { get; set; }
///
/// 1:需要实际退款 0:退回可用余额(不需要实际退款)
///
public int? isacturalrefund { get; set; }
public int isold { get; set; }
public string deptcode { get; set; }
[NotMapped]
public string CompanyName { get; set; }
public int? applytype { get; set; }
public int? deptid { get; set; }
public string deptName { get; set; }
public int? groupid { get; set; }
public string retrace_refund_file { get; set; } = "";
///
/// 客户取消退款时间
///
public DateTime? customer_cancel_time { get; set; }
public int? innamelist { get; set; }
}
}