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

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

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

        /// <summary>
        /// Desc:阶段名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string StageName { get; set; }

        /// <summary>
        /// Desc:阶段等级
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int StageLevel { get; set; }

        /// <summary>
        /// Desc:进化所需成长值
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int RequiredGrowth { get; set; }

        /// <summary>
        /// Desc:前一形态Id（null表示初始形态）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? PreviousEvolutionId { get; set; }

        /// <summary>
        /// Desc:进化类型: Normal, Special
        /// Default:Normal
        /// Nullable:False
        /// </summary>           
        public PetEvolutionTypeEnum Type { get; set; }
    }
}
