3.17优化
This commit is contained in:
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@ -21,5 +22,6 @@ public class WgzAppDailyRecordReq extends PageReq {
|
||||
private String types;
|
||||
|
||||
@ApiModelProperty(value = "日期(格式:年-月-日)")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate rq;
|
||||
}
|
||||
|
||||
@ -0,0 +1,20 @@
|
||||
package com.ruoyi.wgz.bo.req;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@Accessors(chain = true)
|
||||
@ApiModel("务工者APP-打卡日历请求对象")
|
||||
public class WgzAppUserPunchTheCalendarRecordReq implements Serializable {
|
||||
@ApiModelProperty("年月日期:2025-02")
|
||||
@NotBlank(message = "年月不能为空")
|
||||
private String yearMonth;
|
||||
}
|
||||
Reference in New Issue
Block a user