105 lines
2.6 KiB
C#
105 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MDM.Models.Session
|
|
{
|
|
/// <summary>
|
|
/// 产品生命周期表
|
|
/// </summary>
|
|
[SugarTable("product_lifecycle", "产品生命周期表")]
|
|
public class ProductLifecycle
|
|
{
|
|
/// <summary>
|
|
/// 主键ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工单
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "workorder", Length = 50)]
|
|
public string Workorder { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 当前生产状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_status")]
|
|
public int ProductStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 过程码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_SN", Length = 50)]
|
|
public string ProductSN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 产线码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "line_code", Length = 50)]
|
|
public string LineCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 组码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "group_code", Length = 50)]
|
|
public string GroupCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工艺路线
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "routing_code", Length = 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; }
|
|
|
|
|
|
|
|
}
|
|
}
|