package com.cy.guoyan.admin.module.guoyan.controller.admin.researchtopiccategory.vo;

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

import static com.cy.guoyan.admin.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 国资研究专题分类分页 Request VO")
@Data
public class ResearchTopicCategoryPageReqVO extends PageParam {

    @Schema(description = "原始ID（迁移前保留原自增ID）", example = "7394")
    private String oid;

    @Schema(description = "分类编号")
    private Long categoryCode;

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

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

    @Schema(description = "父编号")
    private Long parentCode;

    @Schema(description = "父编号名称", example = "赵六")
    private String parentName;

    @Schema(description = "分类编号1")
    private Long level1Code;

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

    @Schema(description = "分类编号2")
    private Long level2Code;

    @Schema(description = "分类名称2", example = "璨阳")
    private String level2Name;

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

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

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

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

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "资讯数", example = "26626")
    private Integer articleCount;

    @Schema(description = "创建人名称", example = "随便")
    private String creatorName;

    @Schema(description = "更新人名称", example = "随便")
    private String updaterName;
}