namespace Admin.NET.Plugin.AiDOP.Order;
/// 产品设计主表
[SugarTable("ado_product_design", "产品设计主表")]
public class ProductDesign
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
public long Id { get; set; }
/// 单据编号(PDyyyyMMxxxx)
[SugarColumn(ColumnName = "BillNo", Length = 64)]
public string BillNo { get; set; } = string.Empty;
/// 合同号
[SugarColumn(ColumnName = "ContractNo", Length = 128, IsNullable = true)]
public string? ContractNo { get; set; }
/// 1=常规产品 2=非标产品
[SugarColumn(ColumnName = "ProductKind")]
public int ProductKind { get; set; } = 1;
[SugarColumn(ColumnName = "DesignLeadAccount", Length = 64, IsNullable = true)]
public string? DesignLeadAccount { get; set; }
[SugarColumn(ColumnName = "DesignLeadName", Length = 64, IsNullable = true)]
public string? DesignLeadName { get; set; }
/// 图号
[SugarColumn(ColumnName = "DrawingNo", Length = 128, IsNullable = true)]
public string? DrawingNo { get; set; }
[SugarColumn(ColumnName = "DrawingPlanStart", IsNullable = true)]
public DateTime? DrawingPlanStart { get; set; }
[SugarColumn(ColumnName = "DrawingPlanEnd", IsNullable = true)]
public DateTime? DrawingPlanEnd { get; set; }
[SugarColumn(ColumnName = "DrawingActualStart", IsNullable = true)]
public DateTime? DrawingActualStart { get; set; }
[SugarColumn(ColumnName = "DrawingActualEnd", IsNullable = true)]
public DateTime? DrawingActualEnd { get; set; }
[SugarColumn(ColumnName = "Applicant", Length = 64, IsNullable = true)]
public string? Applicant { get; set; }
[SugarColumn(ColumnName = "ApplyDate", IsNullable = true)]
public DateTime? ApplyDate { get; set; }
[SugarColumn(ColumnName = "ProductModel", Length = 128, IsNullable = true)]
public string? ProductModel { get; set; }
[SugarColumn(ColumnName = "ItemNum", Length = 64, IsNullable = true)]
public string? ItemNum { get; set; }
/// zh / en
[SugarColumn(ColumnName = "Language", Length = 16, IsNullable = true)]
public string? Language { get; set; }
[SugarColumn(ColumnName = "Qty", IsNullable = true)]
public decimal? Qty { get; set; }
[SugarColumn(ColumnName = "RequirementDate", IsNullable = true)]
public DateTime? RequirementDate { get; set; }
[SugarColumn(ColumnName = "SampleQty", IsNullable = true)]
public decimal? SampleQty { get; set; }
[SugarColumn(ColumnName = "LineRemark", Length = 512, IsNullable = true)]
public string? LineRemark { get; set; }
[SugarColumn(ColumnName = "CreateUser", Length = 64, IsNullable = true)]
public string? CreateUser { get; set; }
[SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "UpdateUser", Length = 64, IsNullable = true)]
public string? UpdateUser { get; set; }
[SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
[SugarColumn(ColumnName = "IsActive", IsNullable = true)]
public int? IsActive { get; set; }
}