2023-08-09 15:16:45 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace ZR.Model.mes.md
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工位
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarTable("md_workstation")]
|
|
|
|
|
|
public class MdWorkstation
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 流水号
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工位code
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="station_code" )]
|
|
|
|
|
|
public string StationCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工位name
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="station_name" )]
|
|
|
|
|
|
public string StationName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// fk_工序id
|
|
|
|
|
|
///</summary>
|
2023-09-07 11:19:34 +08:00
|
|
|
|
[SugarColumn(ColumnName= "fk_workline_id")]
|
2023-09-08 13:10:26 +08:00
|
|
|
|
public int? FkWorklineId { get; set; }
|
2023-08-16 09:51:28 +08:00
|
|
|
|
|
2023-09-08 13:10:26 +08:00
|
|
|
|
[Navigate(NavigateType.OneToOne, nameof(FkWorklineId))]
|
|
|
|
|
|
public MdWorkline Workline { get; set; }
|
2023-08-16 09:51:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
2023-08-09 15:16:45 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 租户号
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="TENANT_ID" )]
|
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 乐观锁
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="REVISION" )]
|
|
|
|
|
|
public int? Revision { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="CREATED_BY" )]
|
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="CREATED_TIME" )]
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="UPDATED_BY" )]
|
|
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|