|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace ZJ_BYD.Model
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("t_station")]
|
|
|
|
|
public class T_Station : BaseModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工控机标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ipcid")]
|
|
|
|
|
public string IpcId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
|
/// 工位名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "stationname")]
|
|
|
|
|
public string StationName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否显示工单绑定按钮
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isshoworderbtn")]
|
|
|
|
|
public bool IsShowOrderBtn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否显示手动打印按钮
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isshowprintbtn")]
|
|
|
|
|
public bool IsShowPrintBtn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否查询离散装配绑定结果
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "issearchassemble")]
|
|
|
|
|
public bool IsSearchAssemble { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用离散装配条码绑定
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isbindassemblecode")]
|
|
|
|
|
public bool IsBindAssembleCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否支线工位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isbranch")]
|
|
|
|
|
public bool IsBranch { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否查询上工位数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "issearchlaststation")]
|
|
|
|
|
public bool IsSearchLastStation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上工位数据库IP地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "databaseip")]
|
|
|
|
|
public string DatabaseIp { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序索引
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "sortindex")]
|
|
|
|
|
public int SortIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否被删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "isdeleted")]
|
|
|
|
|
public bool IsDeleted { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否允许主条码重复生产(NG的产品可以重复做)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "issfccoderepeat")]
|
|
|
|
|
public bool IsSfcCodeRepeat { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|