using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MDM.Models.Session { /// /// 产品生命周期表 /// [SugarTable("product_lifecycle", "产品生命周期表")] public class ProductLifecycle { /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 工单 /// [SugarColumn(ColumnName = "workorder", Length = 50)] public string Workorder { get; set; } /// /// 当前生产状态 /// [SugarColumn(ColumnName = "product_status")] public int ProductStatus { get; set; } /// /// 过程码 /// [SugarColumn(ColumnName = "product_SN", Length = 50)] public string ProductSN { get; set; } /// /// 产线码 /// [SugarColumn(ColumnName = "line_code", Length = 50)] public string LineCode { get; set; } /// /// 组码 /// [SugarColumn(ColumnName = "group_code", Length = 50)] public string GroupCode { get; set; } /// /// 工艺路线 /// [SugarColumn(ColumnName = "routing_code", Length = 50)] public string RoutingCode { get; set; } /// /// 产品开工时间 /// [SugarColumn(ColumnName = "product_start_time")] public DateTime? ProductStartTime { get; set; } /// /// 产品返工时间 /// [SugarColumn(ColumnName = "product_rework_time")] public DateTime? ProductReworkTime { get; set; } /// /// 产品结束时间 /// [SugarColumn(ColumnName = "product_finish_time")] public DateTime? ProductFinishTime { get; set; } /// /// 产品报废时间 /// [SugarColumn(ColumnName = "product_scrap_time")] public DateTime? ProductScrapTime { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time")] public DateTime? UpdatedTime { get; set; } } }