package com.mosty.base.model.vo.yjzl;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author zhangzhao
 * @description 指导巡逻方格巡逻任务警情分类返回对象
 * @modifier zhangzhao
 * @modifiedTime 2025/09/02 15:26
 * @since 2025/09/02 15:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbZdxlFgxlrwJqflVO对象", description = "指导巡逻方格巡逻任务警情分类返回对象")
public class TbZdxlFgxlrwJqflVO {

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 代码
     */
    @ApiModelProperty(value = "代码")
    private String code;

    /**
     * 下级列表
     */
    @ApiModelProperty(value = "下级列表")
    private List<TbZdxlFgxlrwJqflVO> childList;

    public TbZdxlFgxlrwJqflVO(){

    }

    public TbZdxlFgxlrwJqflVO(String name, String code){
        this.name = name;
        this.code = code;
    }

}
