using Abp.AutoMapper; using IwbZero.AppServiceBase; using System; using System.ComponentModel.DataAnnotations; namespace WeApp.TrainingCamp.Dto { /// /// 演练培训营管理 /// [AutoMapTo(typeof(CampInfo))] public class CampCreateDto : IwbEntityDto { /// /// 培训营名称 /// [StringLength(CampInfo.NameLength)] public string Name { get; set; } /// /// 方案包编号 /// [StringLength(CampInfo.PackageNoLength)] public string PackageNo { get; set; } /// /// 方案包名称 /// [StringLength(CampInfo.NameLength)] public string PackageName { get; set; } [StringLength(CampInfo.AddressLength)] public string Address { get; set; } /// /// 模型类型 /// public int EngineModelType { get; set; } /// /// 评分规则 /// [StringLength(CampInfo.ScoreRuleLength)] public string ScoreRule { get; set; } /// /// 计划日期 /// public DateTime PlanDate { get; set; } /// /// 培训营描述 /// [StringLength(CampInfo.DescLength)] public string Description { get; set; } /// /// 培训营状态 /// public int CampState { get; set; } /// /// 考核角色 /// [StringLength(CampInfo.RoleNamesLength)] public string AssessRoleNames { get; set; } /// /// 未考核角色满分 /// public bool AssessAuto { get; set; } /// /// 每轮总分 /// public decimal RoundScore { get; set; } /// /// 每轮时长 /// public decimal MaxRoundMinute { get; set; } /// /// 全局变量 /// [MaxLength(CampInfo.VariableLength)] public string Variable { get; set; } /// /// 是否显示提示 /// public bool IsShowTip { get; set; } = true; } }