package cn.flightfeather.thirdapp.bean.entity;
|
|
import org.greenrobot.greendao.annotation.Entity;
|
import org.greenrobot.greendao.annotation.Id;
|
import org.greenrobot.greendao.annotation.Property;
|
import org.greenrobot.greendao.annotation.Generated;
|
|
/**
|
* Created by note_ff_1602 on 2018/1/19.
|
*/
|
@Entity
|
public class Town {
|
@Id
|
private Long townid;
|
@Property
|
private Long districtid;
|
@Property
|
private Long cityid;
|
@Property
|
private Long provinceid;
|
@Property
|
private String towncode;
|
@Property
|
private String townname;
|
@Property
|
private String station;
|
@Generated(hash = 1244305976)
|
public Town(Long townid, Long districtid, Long cityid, Long provinceid,
|
String towncode, String townname, String station) {
|
this.townid = townid;
|
this.districtid = districtid;
|
this.cityid = cityid;
|
this.provinceid = provinceid;
|
this.towncode = towncode;
|
this.townname = townname;
|
this.station = station;
|
}
|
@Generated(hash = 2030923556)
|
public Town() {
|
}
|
public Long getTownid() {
|
return this.townid;
|
}
|
public void setTownid(Long townid) {
|
this.townid = townid;
|
}
|
public Long getDistrictid() {
|
return this.districtid;
|
}
|
public void setDistrictid(Long districtid) {
|
this.districtid = districtid;
|
}
|
public Long getCityid() {
|
return this.cityid;
|
}
|
public void setCityid(Long cityid) {
|
this.cityid = cityid;
|
}
|
public Long getProvinceid() {
|
return this.provinceid;
|
}
|
public void setProvinceid(Long provinceid) {
|
this.provinceid = provinceid;
|
}
|
public String getTowncode() {
|
return this.towncode;
|
}
|
public void setTowncode(String towncode) {
|
this.towncode = towncode;
|
}
|
public String getTownname() {
|
return this.townname;
|
}
|
public void setTownname(String townname) {
|
this.townname = townname;
|
}
|
public String getStation() {
|
return this.station;
|
}
|
public void setStation(String station) {
|
this.station = station;
|
}
|
|
}
|