123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel.ScoreManage
- {
- public class CreditFormulaView
- {
- /// <summary>
- /// 学分公式设置ID
- /// </summary>
- [DisplayName("学分公式设置ID")]
- public Guid? CreditFormulaID { get; set; }
- /// <summary>
- /// 学分公式名称
- /// </summary>
- [Required]
- [DisplayName("学分公式名称")]
- public string Name { get; set; }
- /// <summary>
- /// 学分
- /// </summary>
- [Required]
- [DisplayName("学分")]
- [RegularExpression(@"^(0|-?[1-9][0-9]*)(\.\d)?$", ErrorMessage = "请输入数字或保留一位小数数字")]
- public decimal? Scores { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public Guid? CreateUserID { get; set; }
- }
- }
|