package com.yuchen.saas.park.api.entity.park;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @ClassName PmgBatDeviceCategory
 * @Description 园区设备分类表
 * @Author 肖祥
 * @Date 2022/10/5 14:50
 * @Version 1.0。0
 **/
@Data
@TableName("pmg_bat_device_category")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "园区设备分类表", description = "园区设备分类表")
public class PmgBatDeviceCategory extends BasicEntity {
    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称")
    private String name;
    /**
     * 分类父id
     */
    @ApiModelProperty(value = "分类父id")
    private Long parentId;

    /**
     * 分类层级:从0开始
     */
    @ApiModelProperty(value = "分类层级:从0开始")
    private Integer level;
}
