| | |
| | | package com.yuanchu.mom.excel; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class PersonTrainingDetailedUpload { |
| | |
| | | private String trainingLecturerName; |
| | | |
| | | @ExcelProperty("培训时间") |
| | | private LocalDateTime trainingDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @NotNull |
| | | private Date trainingDate; |
| | | |
| | | @ExcelProperty("课时") |
| | | private Integer classHour; |