package com.bonus.material.ma.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @PackagePath: com.bonus.material.ma.vo
 * @CreateTime: 2024-10-16  10:57
 * @Description: 物资类型配置vo
 */
@Data
@ToString
public class MaTypeConfigVo implements java.io.Serializable {

    @ApiModelProperty(value = "配置id")
    private Long id;

    @ApiModelProperty(value = "物资类型id")
    private Long typeId;

    @ApiModelProperty(value = "物资类型名称")
    private String typeName;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "物资仓库id")
    private Long houseId;

    @ApiModelProperty(value = "物资仓库名称")
    private String houseName;

    @ApiModelProperty(value = "库管员id")
    private Long keeperUserId;

    @ApiModelProperty(value = "库管员姓名")
    private String keeperUserName;

    @ApiModelProperty(value = "维修员id")
    private Long repairUserId;

    @ApiModelProperty(value = "维修员姓名")
    private String repairUserName;


    private String parentOneLevelName;

    private String parentTwoLevelName;

    private String parentThreeLevelName;

    private String parentFourLevelName;


    @ApiModelProperty(value = "请求API时调用参数--左侧Tree用户ID")
    private Long userId;

    @ApiModelProperty(value = "请求API时调用参数--左侧Tree层级")
    private String level;

    @ApiModelProperty(value = "是否选中")
    private Boolean isCheck = false;

    @ApiModelProperty(value = "子节点")
    private List<MaTypeConfigVo> children = new ArrayList<>();
}
