package jnpf.entity.culture;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * 文化打卡 - 用户打卡统计 
 * @author yanwenfu 
 * @create 2025-12-23 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName ( value ="ftb_culture_clock_in_stat" )
public class CultureClockInStat extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

	private static final long serialVersionUID =  7802692983560916635L;

	/** 用户ID */
   	@TableField(value = "F_UserId")
	private String userId;

	/** 累计打卡天数 */
   	@TableField(value = "F_TotalDays")
	private Integer totalDays;

	/** 当前连续打卡天数(如果最后打卡日期小于昨天则值为0) */
   	@TableField(value = "F_CurrentContinuousDays")
	private Integer currentContinuousDays;

	/** 历史最大连续打卡天数 */
   	@TableField(value = "F_MaxContinuousDays")
	private Integer maxContinuousDays;

	/** 历史最大连续缺卡天数 */
   	@TableField(value = "F_MaxMissDays")
	private Integer maxMissDays;

	/** 最近一次打卡日期 */
   	@TableField(value = "F_LastClockInDate")
	private LocalDate lastClockInDate;
}
