using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 友情链接
///
public class FriendLink : Entity, ISortable, IAvailability, ISoftDelete, ICreatedTime
{
///
/// 博客用户Id
///
public long? AppUserId { get; set; }
///
/// 网站名称
///
[SugarColumn(Length = 32)]
public string SiteName { get; set; }
///
/// 网站链接
///
[SugarColumn(Length = 256)]
public string Link { get; set; }
///
/// 网站logo
///
[SugarColumn(Length = 256)]
public string Logo { get; set; }
///
/// 对方博客友链的地址
///
[SugarColumn(Length = 256)]
public string? Url { get; set; }
///
/// 是否忽略对方站点是否存在本站链接
///
public bool IsIgnoreCheck { get; set; }
///
/// 备注
///
[SugarColumn(Length = 256)]
public string? Remark { get; set; }
///
/// 排序值(值越小越靠前)
///
public int Sort { get; set; }
///
/// 可用状态
///
public AvailabilityStatus Status { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
}