namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales; [SugarTable("S0ProductDesignCycle", "产品设计周期标准")] [SugarIndex("uk_S0ProductDesignCycle_factory_type_attr", nameof(FactoryRefId), OrderByType.Asc, nameof(ItemType), OrderByType.Asc, nameof(OwnerApplication), OrderByType.Asc, IsUnique = true)] public class AdoS0ProductDesignCycle { [SugarColumn(ColumnName = "rec_id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "company_ref_id", ColumnDataType = "bigint")] public long CompanyRefId { get; set; } [SugarColumn(ColumnName = "factory_ref_id", ColumnDataType = "bigint")] public long FactoryRefId { get; set; } [SugarColumn(ColumnName = "domain_code", Length = 50, IsNullable = true)] public string? DomainCode { get; set; } [SugarColumn(ColumnName = "item_type", Length = 100)] public string ItemType { get; set; } = string.Empty; [SugarColumn(ColumnName = "owner_application", Length = 100)] public string OwnerApplication { get; set; } = string.Empty; [SugarColumn(ColumnName = "std_hours")] public int StdHours { get; set; } [SugarColumn(ColumnName = "is_active", ColumnDataType = "boolean")] public bool IsActive { get; set; } = true; [SugarColumn(ColumnName = "create_user", Length = 100, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } = DateTime.Now; [SugarColumn(ColumnName = "update_user", Length = 100, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "update_time", IsNullable = true)] public DateTime? UpdateTime { get; set; } }