package com.zt.plat.module.qms.common.dic.controller.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 DictionaryBusinessPageReqVO extends PageParam {

    @Schema(description = "ID路径")
    private String idPath;

    @Schema(description = "上级ID", example = "17939")
    private Long parentId;

    @Schema(description = "节点类型", example = "2")
    private String nodeType;

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

    @Schema(description = "键")
    private String key;

    @Schema(description = "值")
    private String value;

    @Schema(description = "其他配置")
    private String customConfig;

    @Schema(description = "排序号")
    private Integer sortNo;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "备注")
    private String remark;

}