gcw_MV9p2JJN 55545b3193 1
2026-02-01 18:15:03 +08:00

92 lines
2.7 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.

namespace RIZO.Model.MES.product_trace
{
/// <summary>
/// 产品生命周期表
/// </summary>
[SugarTable("product_lifecycle")]
public class ProductLifecycle
{
/// <summary>
/// 主键ID
/// </summary>
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 工单号
/// </summary>
[SugarColumn(ColumnName = "workorder", Length = 50)]
[StringLength(50)]
public string Workorder { get; set; }
/// <summary>
/// 当前状态0 未生产1 生产中2 完工中3 返工中4报废中
/// </summary>
[SugarColumn(ColumnName = "product_current_status")]
public int? ProductCurrentStatus { get; set; }
/// <summary>
/// 产品SN
/// </summary>
[SugarColumn(ColumnName = "product_SN", Length = 50)]
[StringLength(50)]
public string ProductSN { get; set; }
/// <summary>
/// 线别
/// </summary>
[SugarColumn(ColumnName = "line_code", Length = 50)]
[StringLength(50)]
public string LineCode { get; set; }
/// <summary>
/// 组别
/// </summary>
[SugarColumn(ColumnName = "group_code", Length = 50)]
[StringLength(50)]
public string GroupCode { get; set; }
/// <summary>
/// 工艺路线
/// </summary>
[SugarColumn(ColumnName = "routing_code", Length = 50)]
[StringLength(50)]
public string RoutingCode { get; set; }
/// <summary>
/// 产品开工时间
/// </summary>
[SugarColumn(ColumnName = "product_start_time")]
public DateTime? ProductStartTime { get; set; }
/// <summary>
/// 产品返工时间
/// </summary>
[SugarColumn(ColumnName = "product_rework_time")]
public DateTime? ProductReworkTime { get; set; }
/// <summary>
/// 产品完工时间
/// </summary>
[SugarColumn(ColumnName = "product_finish_time")]
public DateTime? ProductFinishTime { get; set; }
/// <summary>
/// 产品报废时间
/// </summary>
[SugarColumn(ColumnName = "product_scrap_time")]
public DateTime? ProductScrapTime { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
}
}