using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 积分规则表
///
public class PointsRule : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
///
/// 积分规则名称
///
[SugarColumn(Length = 128)]
public string RuleName { get; set; }
///
/// 参与积分(发放积分个数)
///
public int ParticipationPoints { get; set; }
///
/// 备注
///
[SugarColumn(Length = 512)]
public string? Remark { get; set; }
///
/// 可用状态
///
public AvailabilityStatus Status { get; set; }
///
/// 关联的名次积分规则
///
[SugarColumn(IsIgnore = true)]
public List? Details { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建人
///
public long CreatedUserId { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
///
/// 更新人
///
public long? UpdatedUserId { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedTime { get; set; }
}