|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Security.Principal;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.Model.domain
|
|
|
|
|
{ /// <summary>
|
|
|
|
|
/// 条码绑定记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("CODE_BINDING", "AUCMA_SCADA")]
|
|
|
|
|
public class CodeBindingRecord
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_CODE_BINDING")]
|
|
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱体条码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOX_Code")]
|
|
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱体名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOX_Name")]
|
|
|
|
|
public string BoxName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成品码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PRODUCT_CODE")]
|
|
|
|
|
public string ProductCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 绑定结果
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BINDING_RESULT")]
|
|
|
|
|
public string BindingResult { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码1记录时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "RECORD_TIME1")]
|
|
|
|
|
public DateTime RecordTime1{ get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 条码2记录时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "RECORD_TIME2")]
|
|
|
|
|
public DateTime? RecordTime2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 内胆码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "LINER_CODE")]
|
|
|
|
|
public string LinerCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// plc放行标志,2为放行通过,1为pda提示需要放行记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_PASS")]
|
|
|
|
|
public int isPlcPass { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 集存库壳胆绑定数据:1区分集存库及条码绑定位置数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "POSITION1")]
|
|
|
|
|
public int Position1 { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|