ProductDesign.cs 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>产品设计主表</summary>
  3. [SugarTable("ado_product_design", "产品设计主表")]
  4. public class ProductDesign
  5. {
  6. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  7. public long Id { get; set; }
  8. /// <summary>单据编号(PDyyyyMMxxxx)</summary>
  9. [SugarColumn(ColumnName = "BillNo", Length = 64)]
  10. public string BillNo { get; set; } = string.Empty;
  11. /// <summary>合同号</summary>
  12. [SugarColumn(ColumnName = "ContractNo", Length = 128, IsNullable = true)]
  13. public string? ContractNo { get; set; }
  14. /// <summary>1=常规产品 2=非标产品</summary>
  15. [SugarColumn(ColumnName = "ProductKind")]
  16. public int ProductKind { get; set; } = 1;
  17. [SugarColumn(ColumnName = "DesignLeadAccount", Length = 64, IsNullable = true)]
  18. public string? DesignLeadAccount { get; set; }
  19. [SugarColumn(ColumnName = "DesignLeadName", Length = 64, IsNullable = true)]
  20. public string? DesignLeadName { get; set; }
  21. /// <summary>图号</summary>
  22. [SugarColumn(ColumnName = "DrawingNo", Length = 128, IsNullable = true)]
  23. public string? DrawingNo { get; set; }
  24. [SugarColumn(ColumnName = "DrawingPlanStart", IsNullable = true)]
  25. public DateTime? DrawingPlanStart { get; set; }
  26. [SugarColumn(ColumnName = "DrawingPlanEnd", IsNullable = true)]
  27. public DateTime? DrawingPlanEnd { get; set; }
  28. [SugarColumn(ColumnName = "DrawingActualStart", IsNullable = true)]
  29. public DateTime? DrawingActualStart { get; set; }
  30. [SugarColumn(ColumnName = "DrawingActualEnd", IsNullable = true)]
  31. public DateTime? DrawingActualEnd { get; set; }
  32. [SugarColumn(ColumnName = "Applicant", Length = 64, IsNullable = true)]
  33. public string? Applicant { get; set; }
  34. [SugarColumn(ColumnName = "ApplyDate", IsNullable = true)]
  35. public DateTime? ApplyDate { get; set; }
  36. [SugarColumn(ColumnName = "ProductModel", Length = 128, IsNullable = true)]
  37. public string? ProductModel { get; set; }
  38. [SugarColumn(ColumnName = "ItemNum", Length = 64, IsNullable = true)]
  39. public string? ItemNum { get; set; }
  40. /// <summary>zh / en</summary>
  41. [SugarColumn(ColumnName = "Language", Length = 16, IsNullable = true)]
  42. public string? Language { get; set; }
  43. [SugarColumn(ColumnName = "Qty", IsNullable = true)]
  44. public decimal? Qty { get; set; }
  45. [SugarColumn(ColumnName = "RequirementDate", IsNullable = true)]
  46. public DateTime? RequirementDate { get; set; }
  47. [SugarColumn(ColumnName = "SampleQty", IsNullable = true)]
  48. public decimal? SampleQty { get; set; }
  49. [SugarColumn(ColumnName = "LineRemark", Length = 512, IsNullable = true)]
  50. public string? LineRemark { get; set; }
  51. [SugarColumn(ColumnName = "CreateUser", Length = 64, IsNullable = true)]
  52. public string? CreateUser { get; set; }
  53. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  54. public DateTime? CreateTime { get; set; }
  55. [SugarColumn(ColumnName = "UpdateUser", Length = 64, IsNullable = true)]
  56. public string? UpdateUser { get; set; }
  57. [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
  58. public DateTime? UpdateTime { get; set; }
  59. [SugarColumn(ColumnName = "IsActive", IsNullable = true)]
  60. public int? IsActive { get; set; }
  61. }