package com.zt.plat.module.base.controller.admin.materialclasses.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 MaterialClassesPageReqVO extends PageParam {

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

    @Schema(description = "分类编码")
    private String code;

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

    @Schema(description = "分类级别-用于类别层级(大/中/小类)")
    private Long level;

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

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

}