| New file |
| | |
| | | package org.springblade.modules.discuss.excel; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnore; |
| | | 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 com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * HouseExcel |
| | | * |
| | | * @author Chill |
| | | */ |
| | | @Data |
| | | @ColumnWidth(25) |
| | | @HeadRowHeight(20) |
| | | @ContentRowHeight(18) |
| | | public class UserTopicsExcel implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 2L; |
| | | |
| | | @ExcelProperty( "业主姓名") |
| | | private String name; |
| | | |
| | | @ExcelProperty( "业主电话") |
| | | private String phone; |
| | | |
| | | @ExcelProperty( "地块") |
| | | private String districtName; |
| | | |
| | | @ExcelProperty( "栋号") |
| | | private String building; |
| | | |
| | | @ExcelProperty( "房号") |
| | | private String room; |
| | | |
| | | @ExcelProperty( "地址") |
| | | private String addressName; |
| | | |
| | | @ExcelProperty( "面积") |
| | | private BigDecimal area; |
| | | |
| | | @ExcelProperty( "候选人") |
| | | private String optionContent; |
| | | |
| | | @ExcelProperty(value = "投票时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | |
| | | } |
| | | |