package cn.iocoder.yudao.module.bpm.controller.admin.business.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
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;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/15  11:57
 * @Description:
 * @Version: 4.0
 */

@Schema(description = "管理后台 - 流程模型配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ModelConfigPageReqVO extends PageParam {

    @Schema(description = "流程模型id", example = "21737")
    private String modelId;

    @Schema(description = "流程模型key", example = "2")
    private String modelKey;

    @Schema(description = "开启状态，0-开启，1-关闭，默认开启", example = "1")
    private Integer status;

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


}
