AdoS0OrderReviewCycle.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. [SugarTable("S0OrderReviewCycle", "订单评审周期标准")]
  3. [SugarIndex("uk_S0OrderReviewCycle_factory",
  4. nameof(FactoryRefId), OrderByType.Asc,
  5. IsUnique = true)]
  6. public class AdoS0OrderReviewCycle
  7. {
  8. [SugarColumn(ColumnName = "rec_id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "company_ref_id", ColumnDataType = "bigint")]
  11. public long CompanyRefId { get; set; }
  12. [SugarColumn(ColumnName = "factory_ref_id", ColumnDataType = "bigint")]
  13. public long FactoryRefId { get; set; }
  14. [SugarColumn(ColumnName = "domain_code", Length = 50, IsNullable = true)]
  15. public string? DomainCode { get; set; }
  16. [SugarColumn(ColumnName = "std_hours")]
  17. public int StdHours { get; set; }
  18. [SugarColumn(ColumnName = "remarks", Length = 500, IsNullable = true)]
  19. public string? Remarks { get; set; }
  20. [SugarColumn(ColumnName = "is_active", ColumnDataType = "boolean")]
  21. public bool IsActive { get; set; } = true;
  22. [SugarColumn(ColumnName = "create_user", Length = 100, IsNullable = true)]
  23. public string? CreateUser { get; set; }
  24. [SugarColumn(ColumnName = "create_time")]
  25. public DateTime CreateTime { get; set; } = DateTime.Now;
  26. [SugarColumn(ColumnName = "update_user", Length = 100, IsNullable = true)]
  27. public string? UpdateUser { get; set; }
  28. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  29. public DateTime? UpdateTime { get; set; }
  30. }