haungxing
9 months ago
5 changed files with 65 additions and 3 deletions
@ -0,0 +1,29 @@ |
|||||||
|
package com.hnac.hzims.operational.duty.vo; |
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||||
|
import com.fasterxml.jackson.annotation.JsonInclude; |
||||||
|
import com.hnac.hzims.common.pojo.Tree; |
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
@ApiModel(value = "机构-值班班次类型-班次树",description = "机构-值班班次类型-班次树") |
||||||
|
public class DutyClassTypeTree implements Tree<DutyClassTypeTree> { |
||||||
|
@ApiModelProperty("树ID") |
||||||
|
private Long id; |
||||||
|
|
||||||
|
@ApiModelProperty("父节点树ID") |
||||||
|
@JsonIgnore |
||||||
|
private Long parentId; |
||||||
|
|
||||||
|
@ApiModelProperty("节点名称") |
||||||
|
private String name; |
||||||
|
|
||||||
|
@ApiModelProperty("子节点") |
||||||
|
@JsonInclude(JsonInclude.Include.NON_EMPTY) |
||||||
|
private List<DutyClassTypeTree> children; |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue