You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
858 B
41 lines
858 B
package cn.teammodel.model.entity;
|
|
|
|
import com.azure.spring.data.cosmos.core.mapping.Container;
|
|
import com.azure.spring.data.cosmos.core.mapping.GeneratedValue;
|
|
import com.azure.spring.data.cosmos.core.mapping.PartitionKey;
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import lombok.Data;
|
|
import org.springframework.data.annotation.Id;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 评价列表
|
|
* @author winter
|
|
* @create 2023-11-20 11:04
|
|
*/
|
|
@Container(containerName = "School")
|
|
@Data
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public class Evaluation {
|
|
@Id
|
|
@GeneratedValue
|
|
private String id;
|
|
/**
|
|
* 分区键: evaluation
|
|
*/
|
|
@PartitionKey
|
|
private String code;
|
|
/**
|
|
* 学校 Id
|
|
*/
|
|
private String schoolId;
|
|
/**
|
|
* 学段 id
|
|
*/
|
|
private String periodId;
|
|
|
|
private List<EvaluationTreeNode> nodes;
|
|
|
|
}
|