You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using SqlSugar ;
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
namespace Admin.Core.Model
{
/// <summary>
/// 异常记录表,暂时只有成品下线使用
/// </summary>
[SugarTable("RECORD_EXCEPTION", "AUCMA_SCADA")]
public class ExceptionRecord
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_RECORD_EXCEPTION")]
public int ObjId { get ; set ; }
/// <summary>
/// 产品条码
/// </summary>
[SugarColumn(ColumnName = "PRODUCT_SNCODE")]
public string ProductSnCode { get ; set ; }
/// <summary>
/// 异常信息
/// </summary>
[SugarColumn(ColumnName = "EXCEPTION_MSG")]
public string ExceptionMsg { get ; set ; }
/// <summary>
/// 扫描时间
/// </summary>
[SugarColumn(ColumnName = "PRODUCT_SCANTIME")]
public DateTime ProductScanTime { get ; set ; }
/// <summary>
/// 产线编号
/// </summary>
[SugarColumn(ColumnName = "PRODUCT_LINE_CODE")]
public string ProductLineCode { get ; set ; }
/// <summary>
/// 异常类型( 1=69码校验;2=重复扫描;3=未绑条码;4=未终检)
/// </summary>
[SugarColumn(ColumnName = "EXCEPTION_TYPE")]
public int ExceptionType { get ; set ; }
/// <summary>
/// 所在位置
/// </summary>
[SugarColumn(ColumnName = "POSITION")]
public string Position { get ; set ; }
}
}