| | |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.LocalTimeConvert; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | private String deptName; |
| | | |
| | | @Schema(description = "上班时间") |
| | | @ExcelProperty("上班时间") |
| | | @ExcelProperty(value = "上班时间", converter = LocalTimeConvert.class) |
| | | private LocalTime workStartTime; |
| | | |
| | | @Schema(description = "下班时间") |
| | | @ExcelProperty("下班时间") |
| | | @ExcelProperty(value = "下班时间", converter = LocalTimeConvert.class) |
| | | private LocalTime workEndTime; |
| | | |
| | | @Schema(description = "迟到允许分钟数") |
| | |
| | | @ExcelProperty("加班起算时长") |
| | | private BigDecimal overtimeThreshold; |
| | | |
| | | @Schema(description = "打卡地点名称") |
| | | private String locationName; |
| | | @Schema(description = "打卡地点地址") |
| | | private String locationAddress; |
| | | @Schema(description = "地点经度(WGS84)") |
| | | private BigDecimal longitude; |
| | | @Schema(description = "地点纬度(WGS84)") |
| | | private BigDecimal latitude; |
| | | @Schema(description = "允许打卡半径,单位米") |
| | | private Integer radiusMeters; |
| | | @Schema(description = "是否启用位置限制") |
| | | private Boolean locationRequired; |
| | | @Schema(description = "坐标系,仅支持 WGS84") |
| | | private String coordinateSystem; |
| | | |
| | | @Schema(description = "状态:0-启用,1-禁用") |
| | | @ExcelProperty(value = "状态", converter = DictConvert.class) |
| | | @DictFormat("hrm_rule_status") |
| | |
| | | @ExcelProperty("创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | } |
| | | } |