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

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///勋章定义表
    ///</summary>
    [SugarTable("Medal")]
    public partial class Medal : SqlSugarBaseEntity
    {
        public Medal()
        {


        }

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

        /// <summary>
        /// Desc:获得条件描述
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Description { get; set; }

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

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

        /// <summary>
        /// Desc:勋章的类型: Pet, Community
        /// Default:Pet
        /// Nullable:False
        /// </summary>           
        public MedalTypeEnum Type { get; set; }

        /// <summary>
        /// Desc:书id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long? JournalId { get; set; }

    }
}
