| | |
| | | package com.ruoyi.staff.dto; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import com.ruoyi.staff.pojo.PersonalAttendanceRecords; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Data |
| | | @ExcelIgnoreUnannotated |
| | | public class PersonalAttendanceRecordsDto extends PersonalAttendanceRecords { |
| | | @Excel(name = "姓名", sort = 3) |
| | | private String staffName; |
| | |
| | | private String deptName; |
| | | |
| | | private Long deptId; |
| | | |
| | | //打卡的经度 |
| | | private Double longitude; |
| | | |
| | | //打卡的纬度 |
| | | private Double latitude; |
| | | |
| | | //标准上班时间 |
| | | @JsonFormat(pattern = "HH:mm") |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | private LocalDateTime startAt; |
| | | |
| | | //标准下班时间 |
| | | @JsonFormat(pattern = "HH:mm") |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | private LocalDateTime endAt; |
| | | } |