54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace DOAN.Model.MES.product
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 生产工单
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("pro_workorder_status")]
|
|||
|
|
public class ProWorkorderStatus
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 工单号
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "fk_workorder_code")]
|
|||
|
|
public string FkWorkorderCode { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 状态(1 init,2 start 3 end 4 pause)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "status")]
|
|||
|
|
public int Status { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 状态更改时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "change_time")]
|
|||
|
|
public DateTime ChangeTime { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "created_time")]
|
|||
|
|
public DateTime CreatedTime { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|