|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace ZJ_BYD.Model
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 掩码表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("t_maskcode")]
|
|
|
|
|
public class T_MaskCode : BaseModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 线编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "linecode")]
|
|
|
|
|
public string LineCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分类,用于区分线路
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "category")]
|
|
|
|
|
public string Category { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工位编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "stationcode")]
|
|
|
|
|
public string StationCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机壳SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "productsfccode")]
|
|
|
|
|
public string ProductSfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sfcdsp")]
|
|
|
|
|
public string SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "itemcode")]
|
|
|
|
|
public string ItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "itemversion")]
|
|
|
|
|
public string ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "itemtype")]
|
|
|
|
|
public string ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件1SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub1sfccode")]
|
|
|
|
|
public string Sub1SfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件1SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub1sfcdsp")]
|
|
|
|
|
public string Sub1SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件1ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub1sfcitemcode")]
|
|
|
|
|
public string Sub1SfcItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件1ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub1itemversion")]
|
|
|
|
|
public string Sub1ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件1ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub1itemtype")]
|
|
|
|
|
public string Sub1ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件2SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub2sfccode")]
|
|
|
|
|
public string Sub2SfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件2SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub2sfcdsp")]
|
|
|
|
|
public string Sub2SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件2ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub2sfcitemcode")]
|
|
|
|
|
public string Sub2SfcItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件2ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub2itemversion")]
|
|
|
|
|
public string Sub2ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件2ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub2itemtype")]
|
|
|
|
|
public string Sub2ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件3SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub3sfccode")]
|
|
|
|
|
public string Sub3SfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件3SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub3sfcdsp")]
|
|
|
|
|
public string Sub3SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件3ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub3sfcitemcode")]
|
|
|
|
|
public string Sub3SfcItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件3ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub3itemversion")]
|
|
|
|
|
public string Sub3ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件3ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub3itemtype")]
|
|
|
|
|
public string Sub3ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件4SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub4sfccode")]
|
|
|
|
|
public string Sub4SfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件4SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub4sfcdsp")]
|
|
|
|
|
public string Sub4SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件4ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub4sfcitemcode")]
|
|
|
|
|
public string Sub4SfcItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件4ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub4itemversion")]
|
|
|
|
|
public string Sub4ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件4ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub4itemtype")]
|
|
|
|
|
public string Sub4ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件5SFC掩码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub5sfccode")]
|
|
|
|
|
public string Sub5SfcCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件5SFC_DSP描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub5sfcdsp")]
|
|
|
|
|
public string Sub5SfcDsp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件5ITEM物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub5sfcitemcode")]
|
|
|
|
|
public string Sub5SfcItemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件5ITEM_VISION版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub5itemversion")]
|
|
|
|
|
public string Sub5ItemVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组件5ITEM_TYPE内外部批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sub5itemtype")]
|
|
|
|
|
public string Sub5ItemType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 垫圈重量标准G
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "weightstandar")]
|
|
|
|
|
public string WeightStandar { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "carmode")]
|
|
|
|
|
public string CarMode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 站点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "site")]
|
|
|
|
|
public string Site { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 资源
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "resource")]
|
|
|
|
|
public string Resource { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工序
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "procedure")]
|
|
|
|
|
public string Procedure { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 不合格代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ngcode")]
|
|
|
|
|
public string NgCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否使用中
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isused")]
|
|
|
|
|
public bool IsUsed { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序索引
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sortindex")]
|
|
|
|
|
public int SortIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印条码组成项(例如:2A2)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "barcodechar")]
|
|
|
|
|
public string BarCodeChar { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
///232软件编码
|
|
|
|
|
///<summary>
|
|
|
|
|
[SugarColumn(ColumnName = "softcode")]
|
|
|
|
|
public string SoftCode { get; set; }
|
|
|
|
|
///<summary>
|
|
|
|
|
///232引导版本号
|
|
|
|
|
///<summary>
|
|
|
|
|
[SugarColumn(ColumnName = "guideversion")]
|
|
|
|
|
public string GuideVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 软件版本号校验长度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "softversionlen")]
|
|
|
|
|
public int SoftVersionLen { get; set; }
|
|
|
|
|
|
|
|
|
|
///<summary>
|
|
|
|
|
///232电压上限
|
|
|
|
|
///<summary>
|
|
|
|
|
[SugarColumn(ColumnName = "voltagemax")]
|
|
|
|
|
public string VoltageMax { get; set; }
|
|
|
|
|
///<summary>
|
|
|
|
|
///232电压下限
|
|
|
|
|
///<summary>
|
|
|
|
|
[SugarColumn(ColumnName = "voltagemin")]
|
|
|
|
|
public string VoltageMin { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上工位站点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "laststationsite")]
|
|
|
|
|
public string LastStationSite { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上工位资源
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "laststationresource")]
|
|
|
|
|
public string LastStationResource { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上工位工序
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "laststationprocedure")]
|
|
|
|
|
public string LastStationProcedure { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印条码组成字符(例如:D)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "printbarcode")]
|
|
|
|
|
public string PrintBarcode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 程序块编码,用于判断232通讯时调用哪个方法
|
|
|
|
|
/// 1:第一个方法 2:多一步的方法 3:LIN通讯方法
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "programblocknum")]
|
|
|
|
|
|
|
|
|
|
public int ProgramBlockNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用支线查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isusestator")]
|
|
|
|
|
public bool IsUseStator { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否需要写入序列号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isserialnum")]
|
|
|
|
|
public bool IsSerialNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 零部件号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "partCode")]
|
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|