package com.boying.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.boying.common.BaseEntity; import io.swagger.annotations.ApiModel; import lombok.Data; import javax.persistence.Entity; @Data @TableName("street") @javax.persistence.Table(name = "street") @Entity @org.hibernate.annotations.Table(appliesTo = "street", comment = "街道表") @ApiModel(value = "街道表") public class Street extends BaseEntity { /** * 街道名称 */ private String name; /** * 编号 */ private String code; /** * 东西(路):0 南北(街) :1 */ private Integer type; }