package com.yeejoin.precontrol.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.precontrol.common.entity.publics.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 地区
 *
 * @author duanwei
 * @date 2020-07-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_districts")
@ApiModel(value = "Districts对象", description = "地区")
public class Districts extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "上级编号")
    private Long pid;
    @ApiModelProperty(value = "层级")
    private Boolean deep;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "扩展名")
    private String extName;
}
