package cn.ey.biz.module.system.controller.admin.field.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ey.biz.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 字段权限-字段列表 Excel 导出 Request VO", description = "参数和 FieldPageReqVO 是一致的")
@Data
public class FieldExportReqVO {

    @ApiModelProperty(value = "配置节点ID")
    private Long configId;

    @ApiModelProperty(value = "配置节点")
    private String configCode;

    @ApiModelProperty(value = "字段编码")
    private String fieldCode;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "固定字段（0-固定 1-非固定）")
    private String fieldFix;

    @ApiModelProperty(value = "分类名称")
    private String category;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
