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

namespace QYZH.InteractiveMagazine.Models.Entity
{
    /// <summary>
    /// 宠物皮肤图片表（每个皮肤在每个进化阶段下有一组有序图片，用于动态表示）
    /// </summary>
    [SugarTable("PetSkinImage")]
    public partial class PetSkinImage : SqlSugarBaseEntity
    {
        public PetSkinImage() { }

        /// <summary>
        /// Desc:皮肤Id，关联PetSkin.Id（0表示默认皮肤的图片）
        /// Default:
        /// Nullable:False
        /// </summary>
        public long SkinId { get; set; }

        /// <summary>
        /// Desc:进化阶段Id，关联PetEvolution.Id
        /// Default:
        /// Nullable:False
        /// </summary>
        public long EvolutionStageId { get; set; }

        /// <summary>
        /// Desc:图片地址
        /// Default:
        /// Nullable:False
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// Desc:图片顺序（动画帧序号）
        /// Default:0
        /// Nullable:False
        /// </summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// Desc:图片类型: Normal, Special
        /// Default:Normal
        /// Nullable:False
        /// </summary>
        public PetSkinImageTypeEnum Type { get; set; }
    }
}
