|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成品下线表
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("PRODUCT_OFFLINE"), TenantAttribute("scada")]
|
|
|
|
|
[DataContract(Name = "ProductOffline 扫描下线成品信息")]
|
|
|
|
|
public class ProductOffline
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OBJ_ID" ,IsPrimaryKey = true )]
|
|
|
|
|
public decimal ObjId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计划工厂
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_FACTORY_CODE" )]
|
|
|
|
|
public string ProductFactoryCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公司条码
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_SNCODE" )]
|
|
|
|
|
public string ProductSncode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工单号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_ORDER_NO" )]
|
|
|
|
|
public string ProductOrderNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 销售订单号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_SALE_NO" )]
|
|
|
|
|
public string ProductSaleNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 销售行号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_SALE_LINE_NO" )]
|
|
|
|
|
public string ProductSaleLineNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料编码
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_CODE" )]
|
|
|
|
|
public string ProductCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品型号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_MODEL" )]
|
|
|
|
|
public string ProductModel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料描述
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_NAME" )]
|
|
|
|
|
public string ProductName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品类型
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_TYPE" )]
|
|
|
|
|
public string ProductType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 验证组合
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_CHECK_INFO" )]
|
|
|
|
|
public string ProductCheckInfo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标签特征
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_REMARK" )]
|
|
|
|
|
public string ProductRemark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品条码编码
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_BAR_NO" )]
|
|
|
|
|
public string ProductBarNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主型号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_MASTER_MODEL" )]
|
|
|
|
|
public string ProductMasterModel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 版本号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_VERSION" )]
|
|
|
|
|
public string ProductVersion { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用途位
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_USERINFO" )]
|
|
|
|
|
public string ProductUserinfo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流通特性
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_CIRCULATE" )]
|
|
|
|
|
public string ProductCirculate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生成日期
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_CREATEDATE" )]
|
|
|
|
|
public string ProductCreatedate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扫描时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_SCANTIME" )]
|
|
|
|
|
public DateTime? ProductScantime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱体码
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="BOX_CODE" )]
|
|
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产线编号
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PRODUCT_LINE_CODE" )]
|
|
|
|
|
public string ProductLineCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上传条码系统保存接口返回信息
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="SAVE_RETURN_INFO" )]
|
|
|
|
|
public string SaveReturnInfo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前登录班组(一线白班,一线夜班,二线白班,二线夜班)
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="LOGIN_TEAM" )]
|
|
|
|
|
public string LoginTeam { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 下传plc放行结果,下传为1,plc应答为2
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="PLC_RESULT" )]
|
|
|
|
|
public string PlcResult { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|