package com.zhentao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 红娘签到记录表
 *
 * @author zhentao
 * @since 2025-12-10
 */
@Data
@TableName("matchmaker_checkin")
public class MatchmakerCheckin {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 红娘ID
     */
    private Long makerId;

    /**
     * 签到日期
     */
    private LocalDate checkinDate;

    /**
     * 当前连续签到天数
     */
    private Integer continuousDays;

    /**
     * 累计签到天数
     */
    private Integer totalDays;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}