20 lines
637 B
C#
20 lines
637 B
C#
namespace SPMS.Domain.Entities;
|
|
|
|
public class Banner : BaseEntity
|
|
{
|
|
public long ServiceId { get; set; }
|
|
public string Title { get; set; } = string.Empty;
|
|
public string ImageUrl { get; set; } = string.Empty;
|
|
public string? LinkUrl { get; set; }
|
|
public string? LinkType { get; set; }
|
|
public string Position { get; set; } = string.Empty;
|
|
public int SortOrder { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
|
|
// Navigation
|
|
public Service Service { get; set; } = null!;
|
|
}
|