using Abp.Domain.Entities.Auditing; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WeApp.Authorization.Users; namespace WeApp.TrainingCamp { /// /// 培训营信息 /// [Table("Train_Camps")] public class CampInfo : FullAuditedEntity { public const int NameLength = 50; public const int VariableLength = 1000; public const int AddressLength = 200; public const int ScoreRuleLength = 100; public const int PackageNoLength = 20; public const int RoleNamesLength = 500; public const int DescLength = 500; public const int TagLength = 500; /// /// 培训营名称 /// [MaxLength(NameLength)] public string Name { get; set; } /// /// 方案包编号 /// [MaxLength(PackageNoLength)] public string PackageNo { get; set; } /// /// 方案包名称 /// [MaxLength(NameLength)] public string PackageName { get; set; } /// /// 模型类型 /// public int EngineModelType { get; set; } /// /// 培训营状态 /// public int CampState { get; set; } [MaxLength(AddressLength)] public string Address { get; set; } /// /// 考核角色 /// [MaxLength(RoleNamesLength)] public string AssessRoleNames { get; set; } /// /// 未考核角色满分 /// public bool AssessAuto { get; set; } /// /// 每轮总分 /// public decimal RoundScore { get; set; } /// /// 全局变量 /// [MaxLength(VariableLength)] public string Variable { get; set; } /// /// 评分规则 /// [MaxLength(ScoreRuleLength)] public string ScoreRule { get; set; } /// /// 计划日期 /// public DateTime PlanDate { get; set; } /// /// 开始时间 /// public DateTime? StartDate { get; set; } /// /// 结束时间 /// public DateTime? EngDate { get; set; } /// /// 演练时长 /// public decimal TrainingMinute { get; set; } /// /// 每轮时长 /// public decimal MaxRoundMinute { get; set; } /// /// 培训营描述 /// [MaxLength(DescLength)] public string Description { get; set; } /// /// 行为标签 /// [MaxLength(TagLength)] public string EvalBehaviorTags { get; set; } /// /// 是否显示提示 /// public bool IsShowTip { get; set; } /// /// 备注 /// [MaxLength(RemarkLength)] public string Remark { get; set; } public const int RemarkLength = 500; } }