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

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///点赞记录表
    ///</summary>
    [SugarTable("CommunityMessageLike")]
    public partial class CommunityMessageLike : SqlSugarBaseEntity
    {
        public CommunityMessageLike()
        {


        }
        /// <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:点赞类型
        /// Default:Like
        /// Nullable:False
        /// </summary>           
        public CommunityMessageLikeTypeEnum Type { get; set; }

    }
}
