更新字段注解

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

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

Loading…
Cancel
Save