using SqlSugar;
using Volo.Abp.Domain.Entities;
namespace Yi.Framework.Bbs.Domain.Entities.Integral
{
///
/// 等级表
///
[SugarTable("Level")]
public class LevelEntity : Entity
{
public LevelEntity() { }
public LevelEntity(int currentLevel, string name, decimal minExperience)
{
this.CurrentLevel = currentLevel;
this.Name = name;
this.MinExperience = minExperience;
}
[SugarColumn(IsPrimaryKey = true)]
public override Guid Id { get; protected set; }
///
/// 当前等级
///
public int CurrentLevel { get; set; }
///
/// 最小所需经验值
///
public decimal MinExperience { get; set; }
///
/// 等级名称
///
public string Name { get; set; }
///
/// 等级称号
///
public string? Nick { get; set; }
///
/// 等候logo
///
public string? Logo { get; set; }
}
}