修改提示

This commit is contained in:
2022-05-17 11:58:20 +08:00
parent 6312dec704
commit a44c3dae10
10 changed files with 104 additions and 70 deletions
@@ -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