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

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///模板评论表
    ///</summary>
    [SugarTable("CommunityMessageComment")]
    public partial class CommunityMessageComment : SqlSugarBaseEntity
    {
           public CommunityMessageComment(){


           }

        /// <summary>
        /// Desc:用户Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long UserId {get;set;}

           /// <summary>
           /// Desc:消息Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long MessageId {get;set;}

           /// <summary>
           /// Desc:模板Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int TemplateId {get;set;}

           /// <summary>
           /// Desc:评论类型
           /// Default:TemplateComment
           /// Nullable:False
           /// </summary>           
           public CommunityMessageCommentTypeEnum Type {get;set;}
    }
}
