package cn.pluss.platform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel("城市区域信息")
@Accessors(chain = true)
public class AreaCity {

    @TableId
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("type")
    private String type;

    @ApiModelProperty("areaName")
    private String areaName;

    @ApiModelProperty("parentAreaCode")
    private String parentAreaCode;

    @ApiModelProperty("areaCode")
    private String areaCode;

    @TableField(exist =  false)
    private List<AreaCity> areaCityList;
}
