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

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


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

           /// <summary>
           /// Desc:签到日期
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime CheckInDate {get;set;}

           /// <summary>
           /// Desc:本次签到获得积分
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int PointsAwarded {get;set;}

           /// <summary>
           /// Desc:本次签到获得成长值（喂养宠物）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int GrowthPointsAwarded {get;set;}

           /// <summary>
           /// Desc:连续签到天数
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int ConsecutiveDays {get;set;}

           /// <summary>
           /// Desc:签到类型: Normal, MakeUp
           /// Default:Normal
           /// Nullable:False
           /// </summary>           
           public CheckInRecordTypeEnum Type  { get;set;}
    }
}
