SPMS_API/SPMS.Domain/Entities/FileEntity.cs

20 lines
659 B
C#

namespace SPMS.Domain.Entities;
public class FileEntity : BaseEntity
{
public long ServiceId { get; set; }
public string FileName { get; set; } = string.Empty;
public string FilePath { get; set; } = string.Empty;
public long FileSize { get; set; }
public string FileType { get; set; } = string.Empty;
public string? MimeType { get; set; }
public DateTime CreatedAt { get; set; }
public long CreatedBy { get; set; }
public bool IsDeleted { get; set; }
public DateTime? DeletedAt { get; set; }
// Navigation
public Service Service { get; set; } = null!;
public Admin CreatedByAdmin { get; set; } = null!;
}