namespace ZR.Model.mes.md
{
///
/// 工位
///
[SugarTable("md_workstation")]
public class MdWorkstation
{
///
/// 流水号
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 工位code
///
[SugarColumn(ColumnName = "station_code")]
public string StationCode { get; set; }
///
/// 工位name
///
[SugarColumn(ColumnName = "station_name")]
public string StationName { get; set; }
///
/// fk_工序id
///
[SugarColumn(ColumnName = "fk_workline_id")]
public int? FkWorklineId { get; set; }
[Navigate(NavigateType.OneToOne, nameof(FkWorklineId))]
public MdWorkline Workline { get; set; }
///
/// 租户号
///
[SugarColumn(ColumnName = "TENANT_ID")]
public string TenantId { get; set; }
///
/// 乐观锁
///
[SugarColumn(ColumnName = "REVISION")]
public int? Revision { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "UPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "UPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}