修改提示
This commit is contained in:
@@ -112,6 +112,30 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
public string FullFilePath { get; set; }
|
||||
|
||||
public bool IsRead { get; set; }
|
||||
|
||||
|
||||
public Guid? PublishedUserId { get; set; }
|
||||
|
||||
public DateTime? PublishedTime { get; set; }
|
||||
|
||||
public string PublishUserName { get; set; }
|
||||
|
||||
public SystemNotice_NoticeStateEnum ActualNoticeStateEnum
|
||||
|
||||
{
|
||||
get
|
||||
{
|
||||
if (NoticeStateEnum == SystemNotice_NoticeStateEnum.HavePublished && EndDate != null && EndDate < DateTime.Now)
|
||||
{
|
||||
return SystemNotice_NoticeStateEnum.HaveExpired;
|
||||
}
|
||||
else
|
||||
{
|
||||
return NoticeStateEnum;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class SystemNoticeUserTypeView
|
||||
|
||||
Reference in New Issue
Block a user