package jnpf.model.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 考勤本操作日志分页VO
 *
 * @author Generated
 * @create 2026-04-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "考勤本操作日志分页VO")
public class OperationLogPageVo {

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private String id;

    /**
     * 考勤本ID
     */
    @Schema(description = "考勤本ID")
    private String bookId;

    /**
     * 月份（格式：yyyy-MM）
     */
    @Schema(description = "月份（格式：yyyy-MM）")
    private String month;

    /**
     * 考勤记录ID
     */
    @Schema(description = "考勤记录ID")
    private String recordId;

    /**
     * 员工ID
     */
    @Schema(description = "员工ID")
    private String employeeId;

    /**
     * 操作内容描述
     */
    @Schema(description = "操作内容描述")
    private String operationContent;

    /**
     * 操作人ID
     */
    @Schema(description = "操作人ID")
    private String operatorId;

    /**
     * 操作人姓名
     */
    @Schema(description = "操作人姓名")
    private String operatorName;

    /**
     * 操作时间
     */
    @Schema(description = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
}