package com.example.jz.modle.dto; import com.alibaba.excel.annotation.ExcelProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; @Data @ApiModel(description = "群公告录入导入", value = "PublicityLoadDto") public class PublicityLoadDto { //案件编号 @ApiModelProperty(dataType = "String", value = "标题") @ExcelProperty(value = "标题", index = 0) private String publicityTitle; @ApiModelProperty(dataType = "String", value = "内容") @ExcelProperty(value = "内容", index = 1) private String text; //负责人 @ApiModelProperty(dataType = "String", value = "创建人") @ExcelProperty(value = "创建人", index = 2) private String userName; }