using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace EMIS.ViewModel.ScoreManage.LevelScoreManage
{
public class LevelSettingView
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid LevelSettingID { get; set; }
///
/// 考试科目ID
///
[Required]
[DisplayName("考试科目ID")]
public Guid? ExaminationSubjectID { get; set; }
///
/// 考试科目
///
[DisplayName("考试科目")]
public string ExaminationSubjectName { get; set; }
///
/// 序号
///
[Required]
[DisplayName("序号")]
[RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入自然数")]
public int? LevelNum { get; set; }
///
/// 成绩等级
///
[Required]
[DisplayName("成绩等级")]
public string LevelName { get; set; }
///
/// 最低分
///
[Required]
[DisplayName("最低分")]
public decimal? MinScore { get; set; }
///
/// 最低分操作符
///
[Required]
[DisplayName("最低分操作符")]
public string MinScoreOperator { get; set; }
///
/// 最高分
///
[Required]
[DisplayName("最高分")]
public decimal? MaxScore { get; set; }
///
/// 最高分操作符
///
[Required]
[DisplayName("最高分操作符")]
public string MaxScoreOperator { get; set; }
///
/// 总成绩分数段
///
[DisplayName("总成绩分数段")]
public string TotalScoreRange { get; set; }
///
/// 备注
///
[DisplayName("备注")]
public string Remark { get; set; }
///
/// 状态
///
[DisplayName("状态")]
public int? RecordStatus { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public string CreateUserName { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 修改人
///
[DisplayName("修改人")]
public Guid? ModifyUserID { get; set; }
///
/// 修改人
///
[DisplayName("修改人")]
public string ModifyUserName { get; set; }
///
/// 修改时间
///
[DisplayName("修改时间")]
public DateTime? ModifyTime { get; set; }
}
}