@@ -0,0 +1,25 @@
|
|||||||
|
package com.yunhai.bschclassmanage.model.oa;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 教师组树节点(SchGroup/GetTeaTree 输出)
|
||||||
|
* type=1 组节点(含学校根节点),type=2 教师叶子节点
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
|
public class TeaTreeVO {
|
||||||
|
private Integer id;
|
||||||
|
private String name;
|
||||||
|
private Integer pid;
|
||||||
|
private Integer no;
|
||||||
|
private Integer type;
|
||||||
|
@JsonProperty("isParent")
|
||||||
|
private Boolean isParent;
|
||||||
|
private String photo = "";
|
||||||
|
private List<TeaTreeVO> children;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user