19 lines
591 B
C#
19 lines
591 B
C#
namespace SPMS.Domain.Entities;
|
|
|
|
public class Notice : BaseEntity
|
|
{
|
|
public long ServiceId { get; set; }
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Content { get; set; } = string.Empty;
|
|
public bool IsPinned { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public long CreatedBy { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
|
|
// Navigation
|
|
public Service Service { get; set; } = null!;
|
|
public Admin CreatedByAdmin { get; set; } = null!;
|
|
}
|