package com.repair.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @Author: binguo
 * @Date: 2023/4/18 星期二 9:54
 * @Description: com.video.model.vo
 * @Version: 1.0
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "物品（故障类型）", description = "")
public class RepairArticleTypeTreeVo {
    @ApiModelProperty(value = "物品ID")
    private int id;
    @ApiModelProperty(value = "校区ID")
    private int schoolId;
    @ApiModelProperty(value = "上级物品ID")
    private int parentId;
    @ApiModelProperty(value = "物品名称")
    private String name;
    @ApiModelProperty(value = "排序")
    private int orderNum;
    @ApiModelProperty(value = "子级物品")
    private List<RepairArticleTypeTreeVo> children;
}
