using System; using System.Collections.Generic; using System.Text; namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting { public class AnnouncementView { /// /// AnnouncementID /// public System.Guid? AnnouncementID { get; set; } public string Title { get; set; } public string Content { get; set; } public Nullable StartTime { get; set; } public Nullable EndTime { get; set; } public bool? IsTop { get; set; } public string IsTopStr { get { return IsTop == null ? "" : (IsTop.Value ? "是" : "否"); } } public int? OrderByNum { get; set; } /// /// RecordStatus /// public Nullable RecordStatus { get; set; } /// /// CreateTime /// public Nullable CreateTime { get; set; } /// /// CreateUserID /// public Nullable CreateUserID { get; set; } public string CreateUserName { get; set; } public Nullable CreateDepartmentID { get; set; } public string CreateDepartmentName { get; set; } public IEnumerable UserIds { get; set; } public IEnumerable RoleIds { get; set; } /// /// ModifyUserID /// public Nullable ModifyUserID { get; set; } public string ModifyUserName { get; set; } /// /// ModifyTime /// public Nullable ModifyTime { get; set; } } }