package com.storlead.centre.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考勤补偿记录
 * </p>
 *
 * @author chenkq
 * @since 2026-01-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("attendance_sign_compensate_record")
@ApiModel(value="AttendanceSignCompensateRecordEntity对象", description="考勤补偿记录")
public class AttendanceSignCompensateRecordEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "员工ID")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "员工姓名（冗余）")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "0：上班卡，没下班卡，指定类型：")
    @TableField("checkin_type")
    private Integer checkinType;

    @ApiModelProperty(value = "打卡日期（yyyy-MM-dd，用于查询与汇总）")
    @TableField("checkin_date")
    private LocalDate checkinDate;

    @ApiModelProperty(value = "0：未处理，1：已处理")
    @TableField("is_checkin")
    private Integer isCheckin;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;


}
