using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 用户签到记录表
/// </summary>
public partial class UserSign
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 签到日期
    /// </summary>
    public string SignDate { get; set; } = null!;

    /// <summary>
    /// 当月签到天数
    /// </summary>
    public byte SignDay { get; set; }

    /// <summary>
    /// 连续签到天数
    /// </summary>
    public int Days { get; set; }

    /// <summary>
    /// 月份
    /// </summary>
    public int? Month { get; set; }

    /// <summary>
    /// 年份
    /// </summary>
    public int? Year { get; set; }

    /// <summary>
    /// 签到次数
    /// </summary>
    public int Num { get; set; }

    /// <summary>
    /// 签到类型
    /// </summary>
    public byte SignType { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdatedAt { get; set; }
}
