AdoS0ProductDesignCycle.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. [SugarTable("S0ProductDesignCycle", "产品设计周期标准")]
  3. [SugarIndex("uk_S0ProductDesignCycle_factory_type_attr",
  4. nameof(TenantId), OrderByType.Asc,
  5. nameof(FactoryRefId), OrderByType.Asc,
  6. nameof(ItemType), OrderByType.Asc,
  7. nameof(OwnerApplication), OrderByType.Asc,
  8. IsUnique = true)]
  9. public class AdoS0ProductDesignCycle : ITenantIdFilter
  10. {
  11. [SugarColumn(ColumnName = "rec_id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  12. public long Id { get; set; }
  13. [SugarColumn(ColumnName = "company_ref_id", ColumnDataType = "bigint")]
  14. public long CompanyRefId { get; set; }
  15. [SugarColumn(ColumnName = "factory_ref_id", ColumnDataType = "bigint")]
  16. public long FactoryRefId { get; set; }
  17. [SugarColumn(ColumnName = "domain_code", Length = 50, IsNullable = true)]
  18. public string? DomainCode { get; set; }
  19. [SugarColumn(ColumnName = "item_type", Length = 100)]
  20. public string ItemType { get; set; } = string.Empty;
  21. [SugarColumn(ColumnName = "owner_application", Length = 100)]
  22. public string OwnerApplication { get; set; } = string.Empty;
  23. [SugarColumn(ColumnName = "std_hours")]
  24. public int StdHours { 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. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  36. public long? TenantId { get; set; }
  37. }