AdoS0ProductDesignCycle.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. [SugarTable("S0ProductDesignCycle", "产品设计周期标准")]
  3. [SugarIndex("uk_S0ProductDesignCycle_factory_type_attr",
  4. nameof(FactoryRefId), OrderByType.Asc,
  5. nameof(ItemType), OrderByType.Asc,
  6. nameof(OwnerApplication), OrderByType.Asc,
  7. IsUnique = true)]
  8. public class AdoS0ProductDesignCycle
  9. {
  10. [SugarColumn(ColumnName = "rec_id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  11. public long Id { get; set; }
  12. [SugarColumn(ColumnName = "company_ref_id", ColumnDataType = "bigint")]
  13. public long CompanyRefId { get; set; }
  14. [SugarColumn(ColumnName = "factory_ref_id", ColumnDataType = "bigint")]
  15. public long FactoryRefId { get; set; }
  16. [SugarColumn(ColumnName = "domain_code", Length = 50, IsNullable = true)]
  17. public string? DomainCode { get; set; }
  18. [SugarColumn(ColumnName = "item_type", Length = 100)]
  19. public string ItemType { get; set; } = string.Empty;
  20. [SugarColumn(ColumnName = "owner_application", Length = 100)]
  21. public string OwnerApplication { get; set; } = string.Empty;
  22. [SugarColumn(ColumnName = "std_hours")]
  23. public int StdHours { get; set; }
  24. [SugarColumn(ColumnName = "is_active", ColumnDataType = "boolean")]
  25. public bool IsActive { get; set; } = true;
  26. [SugarColumn(ColumnName = "create_user", Length = 100, IsNullable = true)]
  27. public string? CreateUser { get; set; }
  28. [SugarColumn(ColumnName = "create_time")]
  29. public DateTime CreateTime { get; set; } = DateTime.Now;
  30. [SugarColumn(ColumnName = "update_user", Length = 100, IsNullable = true)]
  31. public string? UpdateUser { get; set; }
  32. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  33. public DateTime? UpdateTime { get; set; }
  34. }