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