/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_detail_hty")]
public class Dt_takestock_detail_hty:BaseEntity
{
///
///主键
///
[Key]
[Display(Name ="主键")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid stockdtl_id { get; set; }
///
///盘点表头id
///
[Display(Name ="盘点表头id")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid stockdtl_headid { get; set; }
///
///物料id
///
[Display(Name ="物料id")]
[MaxLength(80)]
[Column(TypeName="nvarchar(80)")]
[Required(AllowEmptyStrings=false)]
public string stockdtl_materielid { get; set; }
///
///盘点下料口
///
[Display(Name ="盘点下料口")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
public string stockdtl_outstation { get; set; }
///
///库区
///
[Display(Name ="库区")]
[MaxLength(80)]
[Column(TypeName="nvarchar(80)")]
public string stockdtl_areid { get; set; }
///
///盘点总数量
///
[Display(Name ="盘点总数量")]
[Column(TypeName="decimal")]
[Required(AllowEmptyStrings=false)]
public decimal stockdtl_qty { get; set; }
///
///已盘点的数量
///
[Display(Name ="已盘点的数量")]
[Column(TypeName="decimal")]
public decimal? stockdtl_finishedqty { get; set; }
///
///任务数量
///
[Display(Name ="任务数量")]
[Column(TypeName="decimal")]
public decimal? stockdtl_taskqty { get; set; }
///
///出库任务数量
///
[Display(Name ="出库任务数量")]
[Column(TypeName="decimal")]
public decimal? stockdtl_outtaskqty { get; set; }
///
///货位号
///
[Display(Name ="货位号")]
[Column(TypeName="uniqueidentifier")]
public Guid? stockdtl_locationid { get; set; }
///
///库存头id
///
[Display(Name ="库存头id")]
[Column(TypeName="uniqueidentifier")]
public Guid? stockdtl_containerheadid { get; set; }
///
///托盘号
///
[Display(Name ="托盘号")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
public string stockdtl_barcode { get; set; }
///
///批次号
///
[Display(Name ="批次号")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string stockdtl_lotnumber { get; set; }
///
///创建者
///
[Display(Name ="创建者")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
public string stockdtl_creator { get; set; }
///
///创建时间
///
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
[Required(AllowEmptyStrings=false)]
public DateTime stockdtl_createtime { get; set; }
///
///当前状态
///
[Display(Name ="当前状态")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
public string stockdtl_state { get; set; }
///
///完成时间
///
[Display(Name ="完成时间")]
[Column(TypeName="datetime")]
[Required(AllowEmptyStrings=false)]
public DateTime stockdtl_finishtime { get; set; }
///
///操作类型
///
[Display(Name ="操作类型")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
public string stockdtl_operatetype { get; set; }
///
///操作者
///
[Display(Name ="操作者")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
public string stockdtl_compeletor { get; set; }
///
///原表头id
///
[Display(Name ="原表头id")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid stockdtl_sourceid { get; set; }
}
}