package com.ytpm.middle.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("下拉选项信息类")
public class DropDownVO {
    @ApiModelProperty("下拉选项名")
    private String optionName;
    @ApiModelProperty("下拉选项值")
    private String optionVal;
    @ApiModelProperty("上级ID")
    private String parentId;
    @ApiModelProperty("是否选中")
    private boolean checked;
    @ApiModelProperty("子级列表")
    private List<DropDownVO> children;
}
