using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 添加科目输入参数 /// public class AddCourseInput { /// /// 名称 /// [Required, StringLength(50)] public string Name { get; set; } /// /// 简称 /// [Required, StringLength(50)] public string ShortName { get; set; } /// /// 别称 /// [StringLength(50)] public string NickName { get; set; } /// /// 备注 /// [StringLength(200)] public string Remark { get; set; } /// /// 状态 /// [Required] public CommonStatus Status { get; set; } } /// /// 更新科目输入参数 /// public class UpdateCourseInput : AddCourseInput { /// /// 主键 /// [Required] public short Id { get; set; } }