using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.Core.Model { /// /// 异常记录表,暂时只有成品下线使用 /// [SugarTable("RECORD_EXCEPTION", "AUCMA_SCADA")] public class ExceptionRecord { /// /// 主键 /// [SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_RECORD_EXCEPTION")] public int ObjId { get; set; } /// /// 产品条码 /// [SugarColumn(ColumnName = "PRODUCT_SNCODE")] public string ProductSnCode { get; set; } /// /// 异常信息 /// [SugarColumn(ColumnName = "EXCEPTION_MSG")] public string ExceptionMsg { get; set; } /// /// 扫描时间 /// [SugarColumn(ColumnName = "PRODUCT_SCANTIME")] public DateTime ProductScanTime { get; set; } /// /// 产线编号 /// [SugarColumn(ColumnName = "PRODUCT_LINE_CODE")] public string ProductLineCode { get; set; } /// /// 异常类型(1=69码校验;2=重复扫描;3=未绑条码;4=未终检) /// [SugarColumn(ColumnName = "EXCEPTION_TYPE")] public int ExceptionType { get; set; } /// /// 所在位置 /// [SugarColumn(ColumnName = "POSITION")] public string Position { get; set; } } }