AdoS0ContractReviewCycle.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. [SugarTable("S0ContractReviewCycle", "合同评审周期标准")]
  3. [SugarIndex("uk_S0ContractReviewCycle_factory_stage",
  4. nameof(FactoryRefId), OrderByType.Asc,
  5. nameof(StageCode), OrderByType.Asc,
  6. IsUnique = true)]
  7. public class AdoS0ContractReviewCycle
  8. {
  9. [SugarColumn(ColumnName = "rec_id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "company_ref_id", ColumnDataType = "bigint")]
  12. public long CompanyRefId { get; set; }
  13. [SugarColumn(ColumnName = "factory_ref_id", ColumnDataType = "bigint")]
  14. public long FactoryRefId { get; set; }
  15. [SugarColumn(ColumnName = "domain_code", Length = 50, IsNullable = true)]
  16. public string? DomainCode { get; set; }
  17. [SugarColumn(ColumnName = "stage_code", Length = 50)]
  18. public string StageCode { get; set; } = string.Empty;
  19. [SugarColumn(ColumnName = "stage_name", Length = 200)]
  20. public string StageName { get; set; } = string.Empty;
  21. [SugarColumn(ColumnName = "std_hours")]
  22. public int StdHours { get; set; }
  23. [SugarColumn(ColumnName = "order_no")]
  24. public int OrderNo { get; set; }
  25. [SugarColumn(ColumnName = "is_active", ColumnDataType = "boolean")]
  26. public bool IsActive { get; set; } = true;
  27. [SugarColumn(ColumnName = "create_user", Length = 100, IsNullable = true)]
  28. public string? CreateUser { get; set; }
  29. [SugarColumn(ColumnName = "create_time")]
  30. public DateTime CreateTime { get; set; } = DateTime.Now;
  31. [SugarColumn(ColumnName = "update_user", Length = 100, IsNullable = true)]
  32. public string? UpdateUser { get; set; }
  33. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  34. public DateTime? UpdateTime { get; set; }
  35. }