namespace DOAN.Model.MES.product
{
///
/// 生产工单
///
[SugarTable("pro_workorder")]
public class ProWorkorder
{
///
/// 雪花id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 产品名称
///
[SugarColumn(ColumnName = "production_name")]
public string ProductionName { get; set; }
///
/// 工单号
///
[SugarColumn(ColumnName = "workorder")]
public string Workorder { get; set; }
///
/// 存货编码
///
[SugarColumn(ColumnName = "production_code")]
public string ProductionCode { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnName = "custom_code")]
public string CustomCode { get; set; }
///
/// 交货数量
///
[SugarColumn(ColumnName = "delivery_num")]
public int? DeliveryNum { get; set; }
///
/// 单位
///
public string Unit { get; set; }
///
/// 纸箱数量
///
[SugarColumn(ColumnName = "package_num")]
public int? PackageNum { get; set; }
///
/// 组别
///
[SugarColumn(ColumnName = "group_id")]
public int? GroupId { get; set; }
///
/// 线别
///
[SugarColumn(ColumnName = "route_id")]
public string RouteId { get; set; }
///
/// 序号
///
public int? Sort { get; set; }
///
/// 工单日期
///
[SugarColumn(ColumnName = "workorder_date")]
public DateTime? WorkorderDate { get; set; }
///
/// 年
///
public int? Year { get; set; }
///
/// 周
///
public int? Week { get; set; }
///
/// 日
///
public int? Date { get; set; }
///
/// 优先级 1-100
///
public int? Priority { get; set; }
///
/// 工单状态
///
public int? Status { get; set; }
///
/// 备注
///
public string Remark { 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; }
}
}