using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 相册表
///
public class Albums : Entity, IAvailability, ISortable, ICreatedUserId, ISoftDelete, ICreatedTime
{
///
/// 相册名称
///
[SugarColumn(Length = 32)]
public string Name { get; set; }
///
/// 封面图
///
[SugarColumn(Length = 256)]
public string Cover { get; set; }
///
/// 相册类型
///
public CoverType? Type { get; set; }
///
/// 可用状态
///
public AvailabilityStatus Status { get; set; }
///
/// 排序值(值越小越靠前)
///
public int Sort { get; set; }
///
/// 备注
///
[SugarColumn(Length = 256)]
public string? Remark { get; set; }
///
/// 是否可见
///
public bool IsVisible { get; set; }
///
/// 创建人
///
public long CreatedUserId { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
}