using FreeSql.DataAnnotations;
namespace XiangYi.Core.Entities.Biz;
///
/// 会员等级配置表
///
[Table(Name = "MemberTierConfig")]
public class MemberTierConfig : BaseEntity
{
///
/// 会员等级:1永久会员 2诚意会员 3家庭版会员
///
public int Level { get; set; }
///
/// 等级名称
///
[Column(StringLength = 50)]
public string Name { get; set; } = string.Empty;
///
/// 角标文字(如"家庭版")
///
[Column(StringLength = 50)]
public string? Badge { get; set; }
///
/// 现价(元)
///
[Column(Precision = 10, Scale = 2)]
public decimal Price { get; set; }
///
/// 原价(元)
///
[Column(Precision = 10, Scale = 2)]
public decimal OriginalPrice { get; set; }
///
/// 折扣描述(如"8折优惠")
///
[Column(StringLength = 50)]
public string? Discount { get; set; }
///
/// 权益图片URL
///
[Column(StringLength = 500)]
public string? BenefitsImage { get; set; }
///
/// 排序
///
public int Sort { get; set; } = 0;
///
/// 状态:1启用 2禁用
///
public int Status { get; set; } = 1;
}