using YBEE.EQM.Core;

namespace YBEE.EQM.Application;

/// <summary>
/// 学期输出参数
/// </summary>
public class SemesterOutput
{
    /// <summary>
    /// 主键
    /// </summary>
    [Required]
    public int Id { get; set; }
    /// <summary>
    /// 学期类型
    /// </summary>
    [Required]
    public SemesterType SemesterType { get; set; }
    /// <summary>
    /// 名称，2023至2024学年上学期
    /// </summary>
    [Required]
    public string Name { get; set; }
    /// <summary>
    /// 简称，2023~2024上
    /// </summary>
    [Required]
    public string ShortName { get; set; }
    /// <summary>
    /// 别名，2023年秋季
    /// </summary>
    [Required]
    public string NickName { get; set; }
    /// <summary>
    /// 别名简称，2023秋
    /// </summary>
    [Required]
    public string NickShortName { get; set; }
    /// <summary>
    /// 开始年份
    /// </summary>
    [Required]
    public short BeginYear { get; set; }
    /// <summary>
    /// 结束年份
    /// </summary>
    [Required]
    public short EndYear { get; set; }
    /// <summary>
    /// 是否当前学年
    /// </summary>
    [Required]
    public bool IsCurrent { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }
}
