更新字段注解

11111
zhouj1203@hotmail.com 5 months ago
parent a1aa8c7187
commit 3451287df9

@ -1,29 +1,40 @@
package cn.teammodel.model.dto.weekDuty; package cn.teammodel.model.dto.weekDuty;
import lombok.Data; import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import javax.validation.constraints.NotNull;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@Data @Data
public class LessonRecordDto { public class LessonRecordDto {
private String tmdid; private String tmdid;
@NotNull
private String scope; private String scope;
@NotNull
private String school; private String school;
private String name; private String name;
@NotNull
private String periodId; private String periodId;
private Long stime; private Long stime;
private Long etime; private Long etime;
private List<String> category; private List<String> category;
private List<String> subjectId; private List<String> subjectId;
private List<String> grade; private List<String> grade;
private boolean doubleGreen = false; @Value("${lessonRecordDto.doubleGreen:false}")
private boolean singleGreen = false; private boolean doubleGreen ;
private boolean isOk = false; @Value("${lessonRecordDto.singleGreen:false}")
private boolean quality = false; private boolean singleGreen ;
private String DESC = "startTime"; @Value("${lessonRecordDto.isOk:true}")
private boolean isOk ;
@Value("${lessonRecordDto.quality:false}")
private boolean quality;
@Value("${lessonRecordDto.desc:startTime}")
private String desc;
private int pageCount; private int pageCount;
private String continuationToken; private String continuationToken;
private boolean managePage = true; @Value("${lessonRecordDto.managePage:true}")
private boolean managePage;
private boolean classMeeting; private boolean classMeeting;
} }

Loading…
Cancel
Save