ProductDesign.cs 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>鍗曟嵁缂栧彿锛圥DyyyyMMxxxx锛?/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. /// <summary>图纸设计周期(小时)</summary>
  29. [SugarColumn(ColumnName = "DrawingDesignCycle", IsNullable = true)]
  30. public int? DrawingDesignCycle { get; set; }
  31. [SugarColumn(ColumnName = "DrawingActualStart", IsNullable = true)]
  32. public DateTime? DrawingActualStart { get; set; }
  33. [SugarColumn(ColumnName = "DrawingActualEnd", IsNullable = true)]
  34. public DateTime? DrawingActualEnd { get; set; }
  35. [SugarColumn(ColumnName = "Applicant", Length = 64, IsNullable = true)]
  36. public string? Applicant { get; set; }
  37. [SugarColumn(ColumnName = "ApplyDate", IsNullable = true)]
  38. public DateTime? ApplyDate { get; set; }
  39. [SugarColumn(ColumnName = "ProductModel", Length = 128, IsNullable = true)]
  40. public string? ProductModel { get; set; }
  41. [SugarColumn(ColumnName = "ItemNum", Length = 64, IsNullable = true)]
  42. public string? ItemNum { get; set; }
  43. [SugarColumn(ColumnName = "ProductName", Length = 256, IsNullable = true)]
  44. public string? ProductName { get; set; }
  45. /// <summary>zh / en</summary>
  46. [SugarColumn(ColumnName = "Language", Length = 16, IsNullable = true)]
  47. public string? Language { get; set; }
  48. [SugarColumn(ColumnName = "Qty", IsNullable = true)]
  49. public decimal? Qty { get; set; }
  50. [SugarColumn(ColumnName = "RequirementDate", IsNullable = true)]
  51. public DateTime? RequirementDate { get; set; }
  52. [SugarColumn(ColumnName = "SampleQty", IsNullable = true)]
  53. public decimal? SampleQty { get; set; }
  54. [SugarColumn(ColumnName = "LineRemark", Length = 512, IsNullable = true)]
  55. public string? LineRemark { get; set; }
  56. [SugarColumn(ColumnName = "CreateUser", Length = 64, IsNullable = true)]
  57. public string? CreateUser { get; set; }
  58. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  59. public DateTime? CreateTime { get; set; }
  60. [SugarColumn(ColumnName = "UpdateUser", Length = 64, IsNullable = true)]
  61. public string? UpdateUser { get; set; }
  62. [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
  63. public DateTime? UpdateTime { get; set; }
  64. [SugarColumn(ColumnName = "IsActive", IsNullable = true)]
  65. public int? IsActive { get; set; }
  66. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  67. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  68. public long? TenantId { get; set; }
  69. }