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
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid? ActivitiesID { get; set; }
///
/// 活动名称
///
[Required]
[DisplayName("活动名称")]
public string Name { get; set; }
///
/// 活动月日
///
[DisplayName("活动月日")]
public string ActivitiesTime { get; set; }
///
/// 活动月
///
[Required]
[DisplayName("活动月")]
[Range(1, 12, ErrorMessage="月份必须在1至12之间")]
public int? ActivitiesTimeMonth { get; set; }
///
/// 活动日
///
[Required]
[DisplayName("活动日")]
[Range(1, 31, ErrorMessage = "日期必须在1至31之间")]
public int? ActivitiesTimeDay { get; set; }
///
/// 时间段
///
[Required]
[DisplayName("时间段")]
public int? TimesSegment { get; set; }
///
/// 时间段
///
[Required]
[DisplayName("时间段")]
public string TimesSegmentName { get; set; }
///
/// 活动内容
///
[DisplayName("活动内容")]
public string ActivitiesContent { get; set; }
///
/// 活动类型
///
[Required]
[DisplayName("活动类型")]
public int? ActivitiesType { get; set; }
///
/// 活动类型
///
[Required]
[DisplayName("活动类型")]
public string ActivitiesTypeName { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
}
}