package com.zt.plat.module.base.controller.admin.processinginfomation.vo;

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

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 工艺信息分页 Request VO")
@Data
public class ProcessingInfomationPageReqVO extends PageParam {

    @Schema(description = "父级ID", example = "16823")
    private Long parentId;

    @Schema(description = "工艺编码-唯一业务键")
    private String code;

    @Schema(description = "工艺名称", example = "赵六")
    private String name;

    @Schema(description = "工艺类型值")
    private String typeValue;

    @Schema(description = "状态值-工艺状态")
    private String statusValue;

    @Schema(description = "工艺描述")
    private String description;

    @Schema(description = "生效日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] effectiveDate;

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

}