using SqlSugar;
using QYZH.InteractiveMagazine.Models.Enum;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    /// <summary>
    /// 宠物皮肤定义表
    /// </summary>
    [SugarTable("PetSkin")]
    public partial class PetSkin : SqlSugarBaseEntity
    {
        public PetSkin() { }

        /// <summary>
        /// Desc:所属宠物模板Id（关联PetTemplate.Id）
        /// Default:
        /// Nullable:False
        /// </summary>
        public long TemplateId { get; set; }

        /// <summary>
        /// Desc:皮肤名称
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Desc:描述/特效说明
        /// Default:
        /// Nullable:True
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Desc:稀有度: Normal, Rare, Epic, Legendary
        /// Default:Normal
        /// Nullable:False
        /// </summary>
        public string Rarity { get; set; }

        /// <summary>
        /// Desc:排序权重
        /// Default:0
        /// Nullable:False
        /// </summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// Desc:皮肤类型: Normal, Limited, Event
        /// Default:Normal
        /// Nullable:False
        /// </summary>
        public PetSkinTypeEnum Type { get; set; }

        /// <summary>
        /// Desc:封面图片地址
        /// Default:
        /// Nullable:True
        /// </summary>
        public string? CoverImageUrl { get; set; }
    }
}
