| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
- /// <summary>
- /// 合同评审周期下钻配置(按 parent_stage_code 分组)。
- /// 本批仅初始化 parent_stage_code = 'feedback'(意见反馈)下的部门/组 PI 标准。
- /// </summary>
- [SugarTable("S0ContractReviewCycleBreakdown", "合同评审周期下钻配置")]
- [SugarIndex("uk_S0CRCBreakdown_factory_parent_group",
- nameof(FactoryRefId), OrderByType.Asc,
- nameof(ParentStageCode), OrderByType.Asc,
- nameof(GroupCode), OrderByType.Asc,
- IsUnique = true)]
- [SugarIndex("idx_S0CRCBreakdown_factory_parent",
- nameof(FactoryRefId), OrderByType.Asc,
- nameof(ParentStageCode), OrderByType.Asc,
- IsUnique = false)]
- public class AdoS0ContractReviewCycleBreakdown
- {
- [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 = "parent_stage_code", Length = 50)]
- public string ParentStageCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "group_code", Length = 50)]
- public string GroupCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "group_name", Length = 200)]
- public string GroupName { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "std_hours", ColumnDataType = "decimal(6,2)")]
- public decimal StdHours { get; set; }
- [SugarColumn(ColumnName = "order_no")]
- public int OrderNo { 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; }
- }
|