/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Entity(TableCnName = "综合业务管理",TableName = "OP_OTHER")] public class OP_OTHER:BaseEntity { /// ///业务唯一编号 /// [Key] [Display(Name ="业务唯一编号")] [MaxLength(100)] [Column(TypeName="varchar(100)")] [Required(AllowEmptyStrings=false)] public string BSNO { get; set; } /// ///业务类型op_other /// [Display(Name ="业务类型op_other")] [MaxLength(100)] [Column(TypeName="varchar(100)")] public string OPLB { get; set; } /// ///业务类型名称(散杂运输) /// [Display(Name ="业务类型名称(散杂运输)")] [MaxLength(100)] [Column(TypeName="varchar(100)")] public string OPLBNAME { get; set; } /// ///业务状态(接受委托false、业务封帐true,和code_state 中的状态) /// [Display(Name ="业务状态(接受委托false、业务封帐true,和code_state 中的状态)")] [Column(TypeName="bit")] public bool? BSSTATUS { get; set; } /// ///费用状态 /// [Display(Name ="费用状态")] [Column(TypeName="bit")] public bool? FEESTATUS { get; set; } /// ///委托编号 /// [Display(Name ="委托编号")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string CUSTNO { get; set; } /// ///主提单号 /// [Display(Name ="主提单号")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string MBLNO { get; set; } /// ///分提单号(可以根据规则生成) /// [Display(Name ="分提单号(可以根据规则生成)")] [MaxLength(30)] [Column(TypeName="varchar(30)")] public string HBLNO { get; set; } /// ///合同号 /// [Display(Name ="合同号")] [MaxLength(100)] [Column(TypeName="varchar(100)")] [Editable(true)] public string CONTRACTNO { get; set; } /// ///委托单位 /// [Display(Name ="委托单位")] [MaxLength(20)] [Column(TypeName="varchar(20)")] [Editable(true)] public string CUSTOMERNAME { get; set; } /// ///接单日期 /// [Display(Name ="接单日期")] [Column(TypeName="datetime")] [Editable(true)] public DateTime? BSDATE { get; set; } /// ///会计期间 /// [Display(Name ="会计期间")] [MaxLength(7)] [Column(TypeName="varchar(7)")] [Editable(true)] public string ACCDATE { get; set; } /// ///业务来源 /// [Display(Name ="业务来源")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string BSSOURCE { get; set; } /// ///来源明细 /// [Display(Name ="来源明细")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string BSSOURCEDETAIL { get; set; } /// ///操作 /// [Display(Name ="操作")] [MaxLength(10)] [Column(TypeName="varchar(10)")] [Editable(true)] public string OP { get; set; } /// ///客服员 /// [Display(Name ="客服员")] [MaxLength(10)] [Column(TypeName="varchar(10)")] public string CUSTSERVICE { get; set; } /// ///揽货人 /// [Display(Name ="揽货人")] [MaxLength(10)] [Column(TypeName="varchar(10)")] public string SALE { get; set; } /// ///分公司 /// [Display(Name ="分公司")] [MaxLength(36)] [Column(TypeName="varchar(36)")] [Editable(true)] public string CORPID { get; set; } /// ///运输方式(Code_trantype对应V_OP_BILL中的BSTYPE) /// [Display(Name ="运输方式(Code_trantype对应V_OP_BILL中的BSTYPE)")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string TRANSTYPE { get; set; } /// ///运输工具(例:船名) /// [Display(Name ="运输工具(例:船名)")] [MaxLength(60)] [Column(TypeName="varchar(60)")] public string VESSEL { get; set; } /// ///班次号(例:航次) /// [Display(Name ="班次号(例:航次)")] [MaxLength(12)] [Column(TypeName="varchar(12)")] public string VOYNO { get; set; } /// ///业务日期 /// [Display(Name ="业务日期")] [Column(TypeName="datetime")] [Editable(true)] public DateTime? ETD { get; set; } /// ///装货地 /// [Display(Name ="装货地")] [MaxLength(60)] [Column(TypeName="varchar(60)")] public string PORTLOAD { get; set; } /// ///卸货地 /// [Display(Name ="卸货地")] [MaxLength(60)] [Column(TypeName="varchar(60)")] public string PORTDISCHARGE { get; set; } /// ///贸易方式 /// [Display(Name ="贸易方式")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string TRADETYPE { get; set; } /// ///品名 /// [Display(Name ="品名")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string GOODSNAME { get; set; } /// ///毛重 /// [Display(Name ="毛重")] [Column(TypeName="numeric")] [Editable(true)] public decimal? KGS { get; set; } /// ///净重 /// [Display(Name ="净重")] [Column(TypeName="numeric")] [Editable(true)] public decimal? NETWEIGHT { get; set; } /// ///件数 /// [Display(Name ="件数")] [Column(TypeName="int")] [Editable(true)] public int? PKGS { get; set; } /// ///件数包装 /// [Display(Name ="件数包装")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string KINDPKGS { get; set; } /// ///立方数/尺码 /// [Display(Name ="立方数/尺码")] [Column(TypeName="numeric")] [Editable(true)] public decimal? CBM { get; set; } /// ///是否生成凭证 /// [Display(Name ="是否生成凭证")] [Column(TypeName="bit")] [Editable(true)] public bool? ISVOU { get; set; } /// ///凭证号 /// [Display(Name ="凭证号")] [MaxLength(12)] [Column(TypeName="varchar(12)")] [Editable(true)] public string VOUNO { get; set; } /// ///备注 /// [Display(Name ="备注")] [MaxLength(200)] [Column(TypeName="varchar(200)")] [Editable(true)] public string REMARK { get; set; } /// ///创建人 /// [Display(Name ="创建人")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string CREATEUSER { get; set; } /// ///创建时间 /// [Display(Name ="创建时间")] [Column(TypeName="datetime")] public DateTime? CREATETIME { get; set; } /// /// /// [Display(Name ="MODIFIEDUSER")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string MODIFIEDUSER { get; set; } /// ///最后一次操作时间 /// [Display(Name ="最后一次操作时间")] [Column(TypeName="datetime")] public DateTime? MODIFIEDTIME { get; set; } /// /// /// [Display(Name ="orderno")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string orderno { get; set; } /// /// /// [Display(Name ="STLNAME")] [MaxLength(30)] [Column(TypeName="varchar(30)")] public string STLNAME { get; set; } /// /// /// [Display(Name ="STLDATE")] [Column(TypeName="datetime")] public DateTime? STLDATE { get; set; } /// /// /// [Display(Name ="CTNALL")] [MaxLength(10)] [Column(TypeName="varchar(10)")] public string CTNALL { get; set; } /// ///箱数 /// [Display(Name ="箱数")] [Column(TypeName="int")] public int? CTNNUM { get; set; } /// /// /// [Display(Name ="IsService1")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService1 { get; set; } /// /// /// [Display(Name ="IsService2")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService2 { get; set; } /// /// /// [Display(Name ="IsService3")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService3 { get; set; } /// /// /// [Display(Name ="IsService4")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService4 { get; set; } /// /// /// [Display(Name ="IsService5")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService5 { get; set; } /// /// /// [Display(Name ="IsService6")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService6 { get; set; } /// /// /// [Display(Name ="IsService7")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService7 { get; set; } /// /// /// [Display(Name ="IsService8")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService8 { get; set; } /// /// /// [Display(Name ="IsService9")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService9 { get; set; } /// /// /// [Display(Name ="IsService10")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService10 { get; set; } /// /// /// [Display(Name ="IsServiceFee1")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee1 { get; set; } /// /// /// [Display(Name ="IsServiceFee2")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee2 { get; set; } /// /// /// [Display(Name ="IsServiceFee3")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee3 { get; set; } /// /// /// [Display(Name ="IsServiceFee4")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee4 { get; set; } /// /// /// [Display(Name ="IsServiceFee5")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee5 { get; set; } /// /// /// [Display(Name ="IsServiceFee6")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee6 { get; set; } /// /// /// [Display(Name ="IsServiceFee7")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee7 { get; set; } /// /// /// [Display(Name ="IsServiceFee8")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee8 { get; set; } /// /// /// [Display(Name ="IsServiceFee9")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee9 { get; set; } /// /// /// [Display(Name ="IsServiceFee10")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee10 { get; set; } /// /// /// [Display(Name ="IsService11")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService11 { get; set; } /// /// /// [Display(Name ="IsService12")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService12 { get; set; } /// /// /// [Display(Name ="IsServiceFee11")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee11 { get; set; } /// /// /// [Display(Name ="IsServiceFee12")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee12 { get; set; } /// /// /// [Display(Name ="ENTERP")] [MaxLength(100)] [Column(TypeName="varchar(100)")] public string ENTERP { get; set; } /// /// /// [Display(Name ="IsService13")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService13 { get; set; } /// /// /// [Display(Name ="IsService14")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService14 { get; set; } /// /// /// [Display(Name ="IsService15")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService15 { get; set; } /// /// /// [Display(Name ="IsService16")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsService16 { get; set; } /// /// /// [Display(Name ="IsServiceFee13")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee13 { get; set; } /// /// /// [Display(Name ="IsServiceFee14")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee14 { get; set; } /// /// /// [Display(Name ="IsServiceFee15")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee15 { get; set; } /// /// /// [Display(Name ="IsServiceFee16")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string IsServiceFee16 { get; set; } /// /// /// [Display(Name ="BOOKNO")] [MaxLength(30)] [Column(TypeName="varchar(30)")] public string BOOKNO { get; set; } /// /// /// [Display(Name ="ISPRINTPR")] [MaxLength(1)] [Column(TypeName="varchar(1)")] public string ISPRINTPR { get; set; } /// /// /// [Display(Name ="BillFeeStatus")] [Column(TypeName="int")] [Required(AllowEmptyStrings=false)] public int BillFeeStatus { get; set; } /// /// /// [Display(Name ="OPERATOR")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string OPERATOR { get; set; } /// /// /// [Display(Name ="SALECORPID")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string SALECORPID { get; set; } /// /// /// [Display(Name ="FRCUSTSERVICE")] [MaxLength(10)] [Column(TypeName="varchar(10)")] public string FRCUSTSERVICE { get; set; } /// /// /// [Display(Name ="CLOSINGDATE")] [Column(TypeName="datetime")] public DateTime? CLOSINGDATE { get; set; } /// /// /// [Display(Name ="CLOSEDOCDATE")] [Column(TypeName="datetime")] public DateTime? CLOSEDOCDATE { get; set; } /// /// /// [Display(Name ="SALEDEPT")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string SALEDEPT { get; set; } /// /// /// [Display(Name ="CUSTOMSER")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string CUSTOMSER { get; set; } /// /// /// [Display(Name ="WAREHOUSE")] [MaxLength(20)] [Column(TypeName="varchar(20)")] public string WAREHOUSE { get; set; } /// /// /// [Display(Name ="COUNTRYOFORIGIN")] [MaxLength(60)] [Column(TypeName="varchar(60)")] public string COUNTRYOFORIGIN { get; set; } /// /// /// [Display(Name ="BILLFEESTATUSTIME")] [Column(TypeName="datetime")] public DateTime? BILLFEESTATUSTIME { get; set; } /// ///结算方式 /// [Display(Name ="结算方式")] [Column(TypeName= "tinyint")] [Editable(true)] public byte? STLMODE { get; set; } /// /// /// [Display(Name ="TRUCKNO")] [Column(TypeName="varchar(max)")] [Editable(true)] public string TRUCKNO { get; set; } } }