using YBEE.EQM.Core;

namespace YBEE.EQM.Application;

/// <summary>
/// 分数段
/// </summary>
public class ExamScoreRangeOutput
{
    /// <summary>
    /// 主键
    /// </summary>
    [Required]
    public int Id { get; set; }
    /// <summary>
    /// 序
    /// </summary>
    [Required]
    public int Sequence { get; set; }
    /// <summary>
    /// 类型
    /// </summary>
    [Required]
    public ExamScoreRangeType Type { get; set; }
    /// <summary>
    /// 名称
    /// </summary>
    [Required]
    public string Name { get; set; }
    /// <summary>
    /// 别称
    /// </summary>
    [Required]
    public string NickName { get; set; }
    /// <summary>
    /// 开始值
    /// </summary>
    [Required]
    public decimal BeginValue { get; set; }
    /// <summary>
    /// 包含开始值
    /// </summary>
    [Required]
    public bool BeginInclude { get; set; }
    /// <summary>
    /// 结束值
    /// </summary>
    [Comment("结束值")]
    [Required]
    public decimal EndValue { get; set; }
    /// <summary>
    /// 包含结束值
    /// </summary>
    [Required]
    public bool EndInclude { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }
}
