/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_container_detail_hty")]
public class Dt_container_detail_hty : BaseEntity
{
///
///主键ID
///
[Key]
[Display(Name = "主键ID")]
[Column(TypeName = "uniqueidentifier")]
[Required(AllowEmptyStrings = false)]
public Guid containerdtl_id { get; set; }
///
///库存头id
///
[Display(Name = "库存头id")]
[MaxLength(80)]
[Column(TypeName = "nvarchar(80)")]
[Required(AllowEmptyStrings = false)]
public string containerdtl_headid { get; set; }
///
///物料id
///
[Display(Name = "物料id")]
[MaxLength(80)]
[Column(TypeName = "nvarchar(80)")]
[Required(AllowEmptyStrings = false)]
public string containerdtl_materielid { get; set; }
///
///数量
///
[Display(Name = "数量")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
[Required(AllowEmptyStrings = false)]
public string containerdtl_qty { get; set; }
///
///已分配的数量
///
[Display(Name = "已分配的数量")]
[DisplayFormat(DataFormatString = "18,3")]
[Column(TypeName = "decimal")]
public decimal? containerdtl_assignedqty { get; set; }
///
///已出库完成的数量
///
[Display(Name = "已出库完成的数量")]
[DisplayFormat(DataFormatString = "18,3")]
[Column(TypeName = "decimal")]
public decimal? containerdtl_finishedqty { get; set; }
///
///创建者
///
[Display(Name = "创建者")]
[MaxLength(255)]
[Column(TypeName = "varchar(255)")]
public string containerdtl_creator { get; set; }
///
///创建时间
///
[Display(Name = "创建时间")]
[Column(TypeName = "datetime")]
public DateTime? containerdtl_createtime { get; set; }
///
///预留1
///
[Display(Name = "预留1")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_text1 { get; set; }
///
///预留2
///
[Display(Name = "预留2")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_text2 { get; set; }
///
///预留3
///
[Display(Name = "预留3")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_text3 { get; set; }
///
///轴承条码
///
[Display(Name = "轴承条码")]
[MaxLength(510)]
[Column(TypeName = "nvarchar(510)")]
public string containerdtl_goodsCode { get; set; }
///
///轴承编号
///
[Display(Name = "轴承编号")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_number { get; set; }
///
///制造日期
///
[Display(Name = "制造日期")]
[Column(TypeName = "datetime")]
public DateTime? containerdtl_madeDate { get; set; }
///
///制造单位
///
[Display(Name = "制造单位")]
[MaxLength(40)]
[Column(TypeName = "nvarchar(40)")]
public string containerdtl_madeUnit { get; set; }
///
///托盘条码
///
[Display(Name = "托盘条码")]
[MaxLength(80)]
[Column(TypeName = "nvarchar(80)")]
public string containerdtl_barcode { get; set; }
///
///轴承型号
///
[Display(Name = "轴承型号")]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_type { get; set; }
///
///车型
///
[Display(Name = "车型")]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_carType { get; set; }
///
///测量标准
///
[Display(Name = "测量标准")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_standard { get; set; }
///
///收入单位
///
[Display(Name = "收入单位")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_inboundUnit { get; set; }
///
///轴承识别号
///
[Display(Name = "轴承识别号")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_identifierNo { get; set; }
///
///操作者
///
[Display(Name = "操作者")]
[MaxLength(20)]
[Column(TypeName = "nvarchar(20)")]
public string containerdtl_operator { get; set; }
///
///移动到历史表时间
///
[Display(Name = "移动到历史表时间")]
[Column(TypeName = "datetime")]
public DateTime? containerdtl_finishedtime { get; set; }
///
///入库绑定的唯一ID,比如入库订单号
///
[Display(Name = "入库绑定的唯一ID,比如入库订单号")]
[MaxLength(80)]
[Column(TypeName = "nvarchar(80)")]
public string containerdtl_requstkey { get; set; }
///
///轴承重量
///
[Display(Name = "轴承重量")]
[MaxLength(100)]
[Column(TypeName = "nvarchar(100)")]
public string containerdtl_goodsWeight { get; set; }
///
///称重结果
///
[Display(Name = "称重结果")]
[DisplayFormat(DataFormatString = "18,2")]
[Column(TypeName = "decimal")]
[Editable(true)]
public decimal? containerdtl_standardResult { get; set; }
///
/// 质检确认
///
[Display(Name = "质检确认")]
[Column(TypeName = "bit")]
[Editable(true)]
public bool? containerdtl_qualityCheck { get; set; }
///
///质检确认时间
///
[Display(Name = "质检确认时间")]
[Column(TypeName = "datetime")]
public DateTime? containerdtl_qualityCheckTime { get; set; }
///
///质检确认人
///
[Display(Name = "质检确认人")]
[MaxLength(40)]
[Column(TypeName = "nvarchar(40)")]
public string containerdtl_qualityCheckUser { get; set; }
///
/// 收货确认
///
[Display(Name = "收货确认")]
[Column(TypeName = "bit")]
[Editable(true)]
public bool? containerdtl_takeGoogsCheck { get; set; }
///
///收货确认时间
///
[Display(Name = "收货确认时间")]
[Column(TypeName = "datetime")]
public DateTime? containerdtl_takeGoogsCheckTime { get; set; }
///
///收货确认人
///
[Display(Name = "收货确认人")]
[MaxLength(40)]
[Column(TypeName = "nvarchar(40)")]
public string containerdtl_takeGoogsCheckUser { get; set; }
}
}