/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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 WIDESEA.Entity.SystemModels; namespace WIDESEA.Entity.DomainModels { [Entity(TableCnName = "盘点记录历史表",TableName = "Dt_takestock_record_hty")] public class Dt_takestock_record_hty:BaseEntity { /// ///主键ID /// [Key] [Display(Name ="主键ID")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid stockrecord_id { get; set; } /// ///盘点表体id /// [Display(Name ="盘点表体id")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Required(AllowEmptyStrings=false)] public string stockrecord_detailid { get; set; } /// ///物料id /// [Display(Name ="物料id")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Required(AllowEmptyStrings=false)] public string stockrecord_materielid { get; set; } /// ///库存数量 /// [Display(Name ="库存数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] [Required(AllowEmptyStrings=false)] public decimal stockrecord_qty { get; set; } /// ///实际数量 /// [Display(Name ="实际数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? stockrecord_actualqty { get; set; } /// ///当前类型 /// [Display(Name ="当前类型")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] public string stockrecord_type { get; set; } /// ///当前状态 /// [Display(Name ="当前状态")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string stockrecord_state { get; set; } /// ///更新数量 /// [Display(Name ="更新数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? stockrecord_updateqty { get; set; } /// ///条码编号 /// [Display(Name ="条码编号")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string stockrecord_sn { get; set; } /// ///创建者 /// [Display(Name ="创建者")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string stockrecord_creator { get; set; } /// ///创建时间 /// [Display(Name ="创建时间")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime stockrecord_createtime { get; set; } /// ///完成时间 /// [Display(Name ="完成时间")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime stockrecord_finishtime { get; set; } /// ///操作类型 /// [Display(Name ="操作类型")] [MaxLength(20)] [Column(TypeName="nvarchar(20)")] public string stockrecord_operatetype { get; set; } /// ///操作者 /// [Display(Name ="操作者")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string stockrecord_compeletor { get; set; } /// ///原表头id /// [Display(Name ="原表头id")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid stockrecord_sourceid { get; set; } } }