using SqlSugar; namespace GS.QC.Models; /// /// 缺陷代码表 /// [SugarTable("MES_DEFECT_CODE")] public class MesDefectCode { /// /// GUID /// 默认值: (newid()) /// [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] public Guid Guid { get; set; } /// /// 缺陷代码 /// [SugarColumn(ColumnName = "defect_code")] public string? DefectCode { get; set; } /// /// 缺陷名称 /// [SugarColumn(ColumnName = "defect_name")] public string? DefectName { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "memo")] public string? Memo { get; set; } /// /// 类别(普通信息,认证信息) /// [SugarColumn(ColumnName = "defect_sort")] public string? DefectSort { get; set; } /// /// 缺陷等级 /// [SugarColumn(ColumnName = "defect_rate")] public string? DefectRate { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public string? CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_date")] public DateTime? CreateDate { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "lastupdate_by")] public string? LastupdateBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "lastupdate_date")] public DateTime? LastupdateDate { get; set; } /// /// 工作中心 /// [SugarColumn(ColumnName = "workshop_center_code")] public string? WorkshopCenterCode { get; set; } /// /// 工作中心名称 /// [SugarColumn(ColumnName = "workshop_center_name")] public string? WorkshopCenterName { get; set; } /// /// 工序编码 /// [SugarColumn(ColumnName = "proc_no")] public string? ProcNo { get; set; } /// /// 顺序 /// [SugarColumn(ColumnName = "d_order")] public string? DOrder { get; set; } /// /// 类型(工序、线体) /// [SugarColumn(ColumnName = "s_type")] public string? SType { get; set; } /// /// 类别1 /// [SugarColumn(ColumnName = "type1")] public bool? Type1 { get; set; } /// /// 类别2 /// [SugarColumn(ColumnName = "type2")] public string? Type2 { get; set; } /// /// 类别3 /// [SugarColumn(ColumnName = "type3")] public string? Type3 { get; set; } /// /// 类别4 /// [SugarColumn(ColumnName = "type4")] public string? Type4 { get; set; } /// /// 类别5 /// [SugarColumn(ColumnName = "type5")] public string? Type5 { get; set; } /// /// 类别6 /// [SugarColumn(ColumnName = "type6")] public string? Type6 { get; set; } /// /// 类别7 /// [SugarColumn(ColumnName = "type7")] public string? Type7 { get; set; } /// /// 类别8 /// [SugarColumn(ColumnName = "type8")] public string? Type8 { get; set; } /// /// 主表ID /// [SugarColumn(ColumnName = "pid")] public Guid? Pid { get; set; } /// /// 读取最大编号 /// [SugarColumn(IsIgnore = true)] public string? MaxNo { get; set; } }