package com.boying.entity;
|
|
import com.boying.common.BaseEntity;
|
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
@Table(name = "streetReRoad")
|
@Entity
|
public class StreetReRoad extends BaseEntity {
|
|
private Long roadId;
|
private Long streetId;
|
|
@Transient
|
private String name;
|
@Transient
|
private int code;
|
@Transient
|
private int type;
|
|
public Long getRoadId() {
|
return roadId;
|
}
|
|
public void setRoadId(Long roadId) {
|
this.roadId = roadId;
|
}
|
|
public Long getStreetId() {
|
return streetId;
|
}
|
|
public void setStreetId(Long streetId) {
|
this.streetId = streetId;
|
}
|
|
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;
|
}
|
}
|