zhuangpei-mesbackend/DOAN.Model/MES/product/ProWorkorderStatus.cs
2026-01-22 11:07:31 +08:00

54 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}