| | |
| | | package com.ruoyi.staff.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | public class PerformanceShiftAddDto { |
| | | |
| | | @NotNull(message = "请选择班次") |
| | | @ApiModelProperty("班次") |
| | | @Schema(description = "班次") |
| | | private Integer personalAttendanceLocationConfigId; |
| | | |
| | | @NotNull(message = "请选择员工") |
| | | @ApiModelProperty("员工id") |
| | | @Schema(description = "员工id") |
| | | private String staffOnJobId; |
| | | |
| | | @NotNull(message = "请选择周次") |
| | | @ApiModelProperty("开始周次") |
| | | @Schema(description = "开始周次") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime startWeek; |
| | | |
| | | @NotNull(message = "请选择周次") |
| | | @ApiModelProperty("结束周次") |
| | | @Schema(description = "结束周次") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime endWeek; |