using NPOI.SS.Formula.Functions; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.Core.Model { /// /// 质检记录 /// [SugarTable("REPORT_QUALITY_INSPECTION", "AUCMA_MES")] public class ReportQualityInsPection { /// /// 主键 /// [SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_REPORT_QUALITY_INSPECTION")] public int ObjId { get; set; } /// /// 箱体条码 /// [SugarColumn(ColumnName = "BAR_CODE")] public string BarCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "MATERIAL_NAME", ColumnDataType = "NVARCHAR(128)")] public string MaterialName { get; set; } /// /// 工序编号 /// [SugarColumn(ColumnName = "PROCESS_CODE")] public string ProcessCode { get; set; } /// /// 检测项(工位)编号 /// [SugarColumn(ColumnName = "TEST_ITEM_CODE")] public string TestItemCode { get; set; } /// /// 质量缺陷编码 /// [SugarColumn(ColumnName = "QUALITY_DEFECT_CODE")] public string QualityDefectCode { get; set; } /// /// 质量缺陷名称 /// [SugarColumn(ColumnName = "QUALITY_DEFECT_NAME")] public string QualityDefectName { get; set; } /// /// 质检处理措施(3=合格,1=返修) /// [SugarColumn(ColumnName = "TREATMENT_MEASURE")] public string TreatmentMeasure { get; set; } /// /// 返修处理结果 /// [SugarColumn(ColumnName = "PROCESS_RESULT")] public string ProcessResult { get; set; } /// /// 是否下静态线(1-是;2-否) /// [SugarColumn(ColumnName = "IS_LOWER_LINE")] public string IsLowerLine { get; set; } /// /// 班组编号 /// [SugarColumn(ColumnName = "GROUP_CODE")] public string GroupCode { get; set; } /// /// 检测人员 /// [SugarColumn(ColumnName = "INSPECTOR_CODE")] public string InspectorCode { get; set; } /// /// 检测时间 /// [SugarColumn(ColumnName = "INSPECTOR_TIME")] public DateTime InspectorTime { get; set; } /// /// 返修次数 /// [SugarColumn(ColumnName = "REWORK_NUMBER")] public int ReworkNumber { get; set; } /// /// 返修完成时间 /// [SugarColumn(ColumnName = "FINISH_TIME")] public DateTime? FinishTime { get; set; } /// /// 返修结果(1=正常,2=异常) /// [SugarColumn(ColumnName = "IS_FLAG")] public int IsFlag { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "UPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "UPDATED_TIME")] public DateTime? UpdatedTime { get; set; } /// /// 检测人工位编号 /// [SugarColumn(ColumnName = "STATION_CODE")] public string StationCode { get; set; } } }