12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- namespace EMIS.ViewModel.CalendarManage
- {
- public class ActivitieView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- [DisplayName("主键ID")]
- public Guid? ActivitiesID { get; set; }
- /// <summary>
- /// 活动名称
- /// </summary>
- [Required]
- [DisplayName("活动名称")]
- public string Name { get; set; }
- /// <summary>
- /// 活动月日
- /// </summary>
- [DisplayName("活动月日")]
- public string ActivitiesTime { get; set; }
- /// <summary>
- /// 活动月
- /// </summary>
- [Required]
- [DisplayName("活动月")]
- [Range(1, 12, ErrorMessage="月份必须在1至12之间")]
- public int? ActivitiesTimeMonth { get; set; }
- /// <summary>
- /// 活动日
- /// </summary>
- [Required]
- [DisplayName("活动日")]
- [Range(1, 31, ErrorMessage = "日期必须在1至31之间")]
- public int? ActivitiesTimeDay { get; set; }
- /// <summary>
- /// 时间段
- /// </summary>
- [Required]
- [DisplayName("时间段")]
- public int? TimesSegment { get; set; }
- /// <summary>
- /// 时间段
- /// </summary>
- [Required]
- [DisplayName("时间段")]
- public string TimesSegmentName { get; set; }
- /// <summary>
- /// 活动内容
- /// </summary>
- [DisplayName("活动内容")]
- public string ActivitiesContent { get; set; }
- /// <summary>
- /// 活动类型
- /// </summary>
- [Required]
- [DisplayName("活动类型")]
- public int? ActivitiesType { get; set; }
- /// <summary>
- /// 活动类型
- /// </summary>
- [Required]
- [DisplayName("活动类型")]
- public string ActivitiesTypeName { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- }
- }
|