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

import lombok.*;

import java.time.LocalDate;
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 static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


@Schema(description = "管理后台 - 模板分类分页 Request VO")
@Data
public class TmplTpPageReqVO extends PageParam {

    @Schema(description = "类型名称", example = "王五")
    private String name;

    @Schema(description = "类型编码")
    private String num;

    @Schema(description = "父类型主键;顶级为NULL", example = "20414")
    private Long prnId;

    @Schema(description = "同级排序序号")
    private Long srt;

    @Schema(description = "状态")
    private String sts;

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

}
