1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- namespace EMIS.ViewModel.SystemView
- {
- public class AnnouncementView
- {
- /// <summary>
- /// AnnouncementID
- /// </summary>
- public System.Guid AnnouncementID { get; set; }
- /// <summary>
- /// AnnouncementTypeID
- /// </summary>
- [Required]
- [DisplayName("公告类型")]
- public Nullable<System.Guid> AnnouncementTypeID { get; set; }
- public string AnnouncementTypeDesc { get; set; }
- /// <summary>
- /// Title
- /// </summary>
- [Required]
- [StringLength(100)]
- [DisplayName("标题")]
- public string Title { get; set; }
- /// <summary>
- /// Content
- /// </summary>
- [Required]
- [DisplayName("内容")]
- public string Content { get; set; }
- /// <summary>
- /// StartTime
- /// </summary>
- [DisplayName("发布时间")]
- public Nullable<System.DateTime> StartTime { get; set; }
- /// <summary>
- /// EndTime
- /// </summary>
- [DisplayName("截止时间")]
- public Nullable<System.DateTime> EndTime { get; set; }
- /// <summary>
- /// RecordStatus
- /// </summary>
- public Nullable<int> RecordStatus { get; set; }
- /// <summary>
- /// CreateTime
- /// </summary>
- public Nullable<System.DateTime> CreateTime { get; set; }
- public string CreateTimeDec {
- get {
- return CreateTime.Value.ToShortDateString();
- }
- }
- /// <summary>
- /// CreateUserID
- /// </summary>
- public Nullable<System.Guid> CreateUserID { get; set; }
- public string CreateUserName { get; set; }
- public Nullable<System.Guid> CreateDepartmentID { get; set; }
- public string CreateDepartmentName { get; set; }
- /// <summary>
- /// ModifyUserID
- /// </summary>
- public Nullable<System.Guid> ModifyUserID { get; set; }
- public string ModifyUserName { get; set; }
- /// <summary>
- /// ModifyTime
- /// </summary>
- public Nullable<System.DateTime> ModifyTime { get; set; }
- }
- }
|