|
@@ -2,6 +2,7 @@ package com.qmth.distributed.print.business.bean.dto;
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
+import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -36,6 +37,19 @@ public class CourseWeightDto {
|
|
@ApiModelProperty("评价方式权重详情")
|
|
@ApiModelProperty("评价方式权重详情")
|
|
private List<CourseWeightDetailDto> evaluationList;
|
|
private List<CourseWeightDetailDto> evaluationList;
|
|
|
|
|
|
|
|
+ public CourseWeightDto() {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public CourseWeightDto(String courseTargetName, String degreeRequirement, BigDecimal totalWeight, BigDecimal totalScore, List<CourseWeightDetailDto> evaluationList) {
|
|
|
|
+ this.courseTargetId = SystemConstant.getDbUuid();
|
|
|
|
+ this.courseTargetName = courseTargetName;
|
|
|
|
+ this.degreeRequirement = degreeRequirement;
|
|
|
|
+ this.totalWeight = totalWeight;
|
|
|
|
+ this.totalScore = totalScore;
|
|
|
|
+ this.evaluationList = evaluationList;
|
|
|
|
+ }
|
|
|
|
+
|
|
public Long getCourseTargetId() {
|
|
public Long getCourseTargetId() {
|
|
return courseTargetId;
|
|
return courseTargetId;
|
|
}
|
|
}
|