66 lines
1.9 KiB
C#
66 lines
1.9 KiB
C#
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>
|
|
[SugarColumn(ColumnName = "fk_workline_id")]
|
|
public int? FkWorklineId { get; set; }
|
|
|
|
[Navigate(NavigateType.OneToOne, nameof(FkWorklineId))]
|
|
public MdWorkline Workline { get; set; }
|
|
|
|
|
|
/// <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; }
|
|
}
|
|
}
|