/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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 = "Code_goods")] public class Code_goods:BaseEntity { /// ///货物代码 /// [Key] [Display(Name ="货物代码")] [MaxLength(36)] [Column(TypeName= "varchar(36)")] [Required(AllowEmptyStrings=false)] public string GID { get; set; } /// ///商品编码 /// [Display(Name ="商品编码")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string GOODCODE { get; set; } /// ///商品名称 /// [Display(Name ="商品名称")] [MaxLength(50)] [Column(TypeName="varchar(50)")] [Editable(true)] public string GOODNAME { get; set; } /// ///商品描述 /// [Display(Name ="商品描述")] [MaxLength(200)] [Column(TypeName="varchar(200)")] [Editable(true)] public string DESCRIP { get; set; } /// /// /// [Display(Name ="ARRATE")] [Column(TypeName="numeric")] public decimal? ARRATE { get; set; } /// /// /// [Display(Name ="APRATE")] [Column(TypeName="numeric")] public decimal? APRATE { get; set; } /// /// /// [Display(Name ="AROUTRATE")] [Column(TypeName="numeric")] public decimal? AROUTRATE { get; set; } /// /// /// [Display(Name ="APOUTRATE")] [Column(TypeName="numeric")] public decimal? APOUTRATE { get; set; } /// ///是否停用 /// [Display(Name ="是否停用")] [Column(TypeName="bit")] [Editable(true)] public bool? ISSTOP { get; set; } /// ///货物大类 /// [Display(Name ="货物大类")] [MaxLength(36)] [Column(TypeName="varchar(36)")] [Editable(true)] public string GoodsTypeGID { get; set; } /// /// /// [Display(Name ="GOODNO")] [MaxLength(50)] [Column(TypeName="varchar(50)")] public string GOODNO { get; set; } /// /// /// [Display(Name ="CREATEUSER")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string CREATEUSER { get; set; } /// ///建立时间 /// [Display(Name ="建立时间")] [Column(TypeName="datetime")] public DateTime? CREATETIME { get; set; } /// /// /// [Display(Name ="CORPID")] [MaxLength(36)] [Column(TypeName="varchar(36)")] public string CORPID { get; set; } /// ///计费品类 /// [Display(Name ="计费品类")] [MaxLength(50)] [Column(TypeName="varchar(50)")] [Editable(true)] public string GOODSFEETYPE { get; set; } /// ///法定第二计量单位 /// [Display(Name ="法定第二计量单位")] [MaxLength(20)] [Column(TypeName="varchar(20)")] [Editable(true)] public string RULEUNIT2 { get; set; } /// ///申报单位 /// [Display(Name ="申报单位")] [MaxLength(20)] [Column(TypeName="varchar(20)")] [Editable(true)] public string RULEUNIT { get; set; } /// ///法定第一计量单位 /// [Display(Name ="法定第一计量单位")] [MaxLength(50)] [Column(TypeName="varchar(50)")] [Editable(true)] public string RULEUNIT1 { get; set; } } }