package org.springblade.modules.task.excel; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ContentRowHeight; import com.alibaba.excel.annotation.write.style.HeadRowHeight; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springblade.common.excel.ExcelDictConverter; import org.springblade.common.excel.ExcelDictItem; import java.io.Serializable; /** * 消费自查检查 * * @author zhongrj * @date 2024/02/22 */ @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class TaskNoExplosionExcel implements Serializable { private static final long serialVersionUID = 2L; @ExcelProperty(value = "场所名称") private String placeName; @ExcelProperty(value = "场所地址") private String location; @ExcelProperty( value = "无诈类别",converter = ExcelDictConverter.class) @ExcelDictItem(type = "noExplosionCategory") private String noExplosionCategory; /** * 街道名称 */ @ExcelProperty("所属街道") private String streetName; @ExcelProperty(value = "所属社区") private String communityName; @ExcelProperty(value = "所属网格") private String gridName; // @ExcelProperty( value = "场所隐患") // private String remark; // @ApiModelProperty(value = "上报数量", example = "") // private Integer number; @ExcelProperty(value = "场所负责人") private String principal; @ExcelProperty(value = "场所负责人电话") private String principalPhone; @ExcelProperty(value = "创建时间") private String createTime; @ExcelProperty( value = "审核状态",converter = ExcelDictConverter.class) @ExcelDictItem(type = "reviewStatus") private String status; }