| | |
| | | package com.ruoyi.staff.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | |
| | | import java.time.LocalTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("personal_attendance_location_config") |
| | | @ApiModel(value = "PersonalAttendanceLocationConfig对象", description = "人员打卡规则配置") |
| | | @Schema(name = "PersonalAttendanceLocationConfig对象", description = "人员打卡规则配置") |
| | | public class PersonalAttendanceLocationConfig implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("部门id") |
| | | @Schema(description = "部门id") |
| | | private Integer sysDeptId; |
| | | |
| | | @ApiModelProperty("地点名称") |
| | | @Schema(description = "地点名称") |
| | | private String locationName; |
| | | |
| | | @ApiModelProperty("经度") |
| | | @Schema(description = "经度") |
| | | private Double longitude; |
| | | |
| | | @ApiModelProperty("纬度") |
| | | @Schema(description = "纬度") |
| | | private Double latitude; |
| | | |
| | | @ApiModelProperty("打卡范围") |
| | | @Schema(description = "打卡范围") |
| | | private Double radius; |
| | | |
| | | @ApiModelProperty("上班时间") |
| | | @Schema(description = "上班时间") |
| | | @JsonFormat(pattern = "HH:mm") |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | private LocalTime startAt; |
| | | |
| | | @ApiModelProperty("下班时间") |
| | | @Schema(description = "下班时间") |
| | | @JsonFormat(pattern = "HH:mm") |
| | | @DateTimeFormat(pattern = "HH:mm") |
| | | private LocalTime endAt; |
| | | |
| | | @ApiModelProperty("班次") |
| | | @Schema(description = "班次") |
| | | private String shift; |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | |
| | | } |