package cn.iocoder.yudao.module.server.controller.admin.materialcategory.vo;

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

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 资料分类列表 Request VO")
@Data
public class MaterialCategoryListReqVO {

    @Schema(description = "父分类ID", example = "29835")
    private Long parentId;

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

    @Schema(description = "分类层级")
    private Integer level;

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

    @Schema(description = "状态", example = "2")
    private String status;

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

}