package cn.iocoder.yudao.module.erp.controller.admin.autocode.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 编码生成记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AutocodeRecordPageReqVO extends PageParam {

    @Schema(description = "规则ID", example = "10883")
    private Long ruleId;

    @Schema(description = "生成日期时间")
    private String genDate;

    @Schema(description = "最后产生的序号")
    private Integer genIndex;

    @Schema(description = "最后产生的值")
    private String lastResult;

    @Schema(description = "最后产生的流水号")
    private Integer lastSerialNo;

    @Schema(description = "最后传入的参数")
    private String lastInputChar;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}