/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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 SqlSugar;
using VolPro.Entity.SystemModels;
namespace VolPro.Entity.DomainModels
{
[Entity(TableCnName = "质检明细",TableName = "MES_QualityInspectionPlanDetail",DBServer = "ServiceDbContext")]
public partial class MES_QualityInspectionPlanDetail:ServiceEntity
{
///
///明细ID
///
[SugarColumn(IsPrimaryKey = true)]
[Key]
[Display(Name ="明细ID")]
[MaxLength(36)]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public Guid InspectionPlanDetailID { get; set; }
///
///检验id
///
[Display(Name ="检验id")]
[MaxLength(36)]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
public Guid? InspectionPlanID { get; set; }
///
///检验物料
///
[Display(Name ="检验物料")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string MaterialCode { get; set; }
///
///物料名称
///
[Display(Name ="物料名称")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string MaterialName { get; set; }
///
///物料规格
///
[Display(Name ="物料规格")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string MaterialSpecification { get; set; }
///
///检验数量
///
[Display(Name ="检验数量")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int QuantityToInspect { get; set; }
///
///检验方法
///
[Display(Name ="检验方法")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string InspectionMethod { get; set; }
///
///检验标准
///
[Display(Name ="检验标准")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public string InspectionStandard { get; set; }
///
///创建人ID
///
[Display(Name ="创建人ID")]
[Column(TypeName="int")]
[Editable(true)]
public int? CreateID { get; set; }
///
///创建人
///
[Display(Name ="创建人")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string Creator { get; set; }
///
///创建时间
///
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
///
///修改人ID
///
[Display(Name ="修改人ID")]
[Column(TypeName="int")]
[Editable(true)]
public int? ModifyID { get; set; }
///
///修改人
///
[Display(Name ="修改人")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
[Editable(true)]
public string Modifier { get; set; }
///
///修改时间
///
[Display(Name ="修改时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? ModifyDate { get; set; }
}
}