crm.core/code/Crm.Core.Domain/Dto/CRM/NotificationDto.cs

34 lines
828 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crm.Core.Domain.Dto.CRM
{
public class NotificationDto
{
public decimal Id { get; set; }
public string? NotificationId { get; set; }
public string? NotificationValue { get; set; }
public decimal? Eid { get; set; }
public decimal? Read { get; set; }
public string? ReadStr { get { return Read == 0 ? "未读" : "已读"; } }
public string? Message { get; set; }
public DateTime? Ctime { get; set; }
public DateTime? ReadTime { get; set; }
public NotificationType? NotificationType { get; set; }
public string? NotificationTypeStr { get { return NotificationType?.GetDescription(); } }
}
}