Valeo_Line_MES_backend/MDM/Models/Recipe/PfRefProductRecipe.cs
2026-01-16 10:41:38 +08:00

85 lines
2.3 KiB
C#

namespace RIZO.Model.MES.recipe
{
/// <summary>
/// 产品配方关联表
/// </summary>
[SugarTable("pf_ref_product_recipe", "产品配方关联表")]
public class PfRefProductRecipe
{
/// <summary>
/// Id
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 配方码(零件号)
/// </summary>
[SugarColumn(ColumnName = "recipe_code",Length =50)]
public string RecipeCode { get; set; }
/// <summary>
/// 产品,码
/// </summary>
[SugarColumn(Length = 50)]
public string Productcode { get; set; }
/// <summary>
/// 产品名称(原零件名称)
/// </summary>
[SugarColumn(ColumnName = "product_name", Length = 50)]
public string ProductName { get; set; }
/// <summary>
/// 工艺路线编码
/// </summary>
[SugarColumn(ColumnName = "fk_routing_code", Length = 50)]
public string FkRoutingCode { get; set; }
/// <summary>
/// 工序编码
/// </summary>
[SugarColumn(ColumnName = "fk_operation_code", Length = 50)]
public string FkOperationCode { get; set; }
/// <summary>
/// 所属流程编码
/// </summary>
[SugarColumn(ColumnName = "fk_flow_code", Length = 50)]
public string FkFlowCode { get; set; }
/// <summary>
/// 产线编号
/// </summary>
[SugarColumn(ColumnName = "fk_line_code", Length = 50)]
public string FkLineCode { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "created_by", Length = 50)]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "updated_by", Length = 50)]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
}
}