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