using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CRM.Core.Model.Entity { [Table("wx_szzyorderdeposit")] public class WX_SzzyOrderDeposit { public WX_SzzyOrderDeposit() { } public WX_SzzyOrderDeposit(string resid, int paytype, string paytypename, DateTime? paydate, decimal payprice, string payname, string remark, string payno, int isuse, string companycode, int? channel, string tradeno) { this.resid = resid; this.paytype = paytype; this.paytypename = paytypename; this.paydate = paydate; this.payprice = payprice; this.payname = payname; this.remark = remark; this.auditstatus = 0; this.ctime = DateTime.Now; this.payno = payno; this.isuse = isuse; this.companycode = companycode; this.channel = channel; this.tradeno = tradeno; } [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int id { get; set; } public string resid { get; set; } public int paytype { get; set; } public string paytypename { get; set; } public DateTime? paydate { get; set; } public decimal? payprice { get; set; } public string payname { get; set; } public string remark { 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 payno { get; set; } public int isuse { get; set; } public string companycode { get; set; } public int? orderid { get; set; } public int? channel { get; set; } public string tradeno { get; set; } public int? isdelete { get; set; } public int? creator { get; set; } public string creatorname { get; set; } public string rejectremark { get; set; } public string checkreslut { get; set; } public DateTime? checkpaytime { get; set; } public decimal? lastprice { get; set; } public decimal? useprice { get; set; } public decimal? frozenprice { get; set; } public int isbu { get; set; } public DateTime? butime { get; set; } public string deptcode { get; set; } public string deptname { get; set; } } }