package com.qs.mp.common.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @describe 实体类
 * @auther quanshu
 * @create 2022-03-02 11:23:04
 */
@ApiModel("区域实体类")
@TableName("mp_area")
@Data
public class Area implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "area_id", type = IdType.AUTO)
    @ApiModelProperty("区域id")
    private Long areaId;

    @ApiModelProperty("区域名称")
    @TableField("area_name")
    private String areaName;

    @ApiModelProperty("上级id")
    @TableField("parent_id")
    private Long parentId;

    @ApiModelProperty("级别")
    @TableField("level")
    private Integer level;


}