parent
a2d75a1c3d
commit
18cfb50a46
@ -0,0 +1,33 @@
|
||||
package cn.teammodel.model.dto.Appraise;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @author winter
|
||||
* @create 2023-11-28 16:16
|
||||
*/
|
||||
@Data
|
||||
public class FindVoteRecordDto {
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "班级或学生 id")
|
||||
private String targetId;
|
||||
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "评价对象类型:", allowableValues = "student ,class")
|
||||
private String targetType;
|
||||
|
||||
// 班级 id
|
||||
/**
|
||||
* 可以当作唯一 id
|
||||
*/
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "评价项唯一 id", required = true)
|
||||
private String appraiseId;
|
||||
|
||||
@ApiModelProperty(value = "学段 id,用于拿到 semesterId", required = true)
|
||||
@NotNull
|
||||
private String periodId;
|
||||
}
|
Loading…
Reference in new issue