| | |
| | | package com.linghu.model.excel; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnore; |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.time.LocalDateTime; |
| | | |
| | | |
| | | @Data |
| | | public class ReferenceExcel { |
| | |
| | | private String title; |
| | | @ExcelProperty("发布时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime create_time; |
| | | private String create_time; |
| | | |
| | | @ExcelProperty("发布网址") |
| | | private String url; |
| | | @ExcelIgnore |
| | | private LocalDateTime createTimeAsDateTime; |
| | | |
| | | } |