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 ParkBusinessDataEntity
 * @Description 园区业务数据
 * @Author 肖祥
 * @Date 2022/11/02 11:45
 * @Version 1.0。0
 **/
@Data
@TableName("pmg_bat_park_business_data")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "园区业务数据实体类", description = "园区业务数据实体类")
public class ParkBusinessDataEntity extends BasicEntity {

    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称")
    private String name;
    /**
     * 分类父id
     */
    @ApiModelProperty(value = "分类父id")
    private Long parentId;

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

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型1是园区建设、2是设备数据3、入驻企业4、车辆数据5、订单数据")
    private Integer type;
}
