package com.boying.entity; import com.boying.common.BaseEntity; import javax.persistence.Entity; import javax.persistence.Table; @Table(name = "street") @Entity public class Street extends BaseEntity { private String name;//街道名称 private int code;//编号 private int type;//东西(路):0 南北(街) :1 public String getName() { return name; } public void setName(String name) { this.name = name; } public int getCode() { return code; } public void setCode(int code) { this.code = code; } public int getType() { return type; } public void setType(int type) { this.type = type; } }