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.

84 lines
3.5 KiB
C#

This file contains ambiguous Unicode characters!

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("PRODUCT_OFFLINE", "AUCMA_SCADA")]
public class OffLineInfo
{
/// <summary>
/// 主键标识
///</summary>
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)]
public int ObjId { get; set; }
[SugarColumn(ColumnName = "PRODUCT_FACTORY_CODE")]
public string ProductFactoryCode { get; set; } //计划工厂
[SugarColumn(ColumnName = "PRODUCT_SNCODE")]
public string ProductSNCode { get; set; } //公司条码
[SugarColumn(ColumnName = "PRODUCT_ORDER_NO")]
public string ProductOrderNo { get; set; }//工单号
[SugarColumn(ColumnName = "PRODUCT_SALE_NO")]
public string ProductSaleNo { get; set; } //销售订单号
[SugarColumn(ColumnName = "PRODUCT_SALE_LINE_NO")]
public string ProductSaleLineNo { get; set; } //销售行号
[SugarColumn(ColumnName = "PRODUCT_CODE")]
public string ProductCode { get; set; }//物料编码
[SugarColumn(ColumnName = "PRODUCT_MODEL")]
public string ProductModel{ get; set; }//产品型号
[SugarColumn(ColumnName = "PRODUCT_NAME")]
public string ProductName { get; set; }//物料描述
[SugarColumn(ColumnName = "PRODUCT_TYPE")]
public string ProductType { get; set; }//产品类型
[SugarColumn(ColumnName = "PRODUCT_CHECK_INFO")]
public string ProductCheckInfo { get; set; }//验证组合
[SugarColumn(ColumnName = "PRODUCT_REMARK")]
public string ProductRemark { get; set; } //标签特征
[SugarColumn(ColumnName = "PRODUCT_BAR_NO")]
public string ProductBarNo { get; set; }//产品条码编码
[SugarColumn(ColumnName = "PRODUCT_MASTER_MODEL")]
public string ProductMasterModel { get; set; }//主型号
[SugarColumn(ColumnName = "PRODUCT_VERSION")]
public string ProductVersion { get; set; }//版本号
[SugarColumn(ColumnName = "PRODUCT_USERINFO")]
public string ProductUseInfo { get; set; }//用途位
[SugarColumn(ColumnName = "PRODUCT_CIRCULATE")]
public string ProductCirculate { get; set; }//流通特性
[SugarColumn(ColumnName = "PRODUCT_CREATEDATE")]
public string ProductCreateDate { get; set; }//生成日期
[SugarColumn(ColumnName = "PRODUCT_SCANTIME")]
public DateTime ProductScanTime { get; set; } //扫描时间
[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 SaveRetuenInfo { get; set; }
/// <summary>
/// 当前登录班组(一线白班,一线夜班,二线白班,二线夜班)
/// </summary>
[SugarColumn(ColumnName = "LOGIN_TEAM")]
public string LoginTeam { get; set; }
/// <summary>
/// 下传plc放行结果下传后为1plc应答后更新为2
/// </summary>
[SugarColumn(ColumnName = "PLC_RESULT")]
public int PlcResult { get; set; }
}
}