xxx
This commit is contained in:
@@ -32,6 +32,22 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public string FullFilePath { 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 List<UserTypeSimpleDTO> NoticeUserTypeList { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user