package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 地点
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-09-04
|
*/
|
@TableName("t_location")
|
public class TLocation extends Model<TLocation> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 站点id
|
*/
|
private Integer siteId;
|
/**
|
* 区域名称
|
*/
|
private String name;
|
/**
|
* 地点类型(1=行政区域,2=电子围栏)
|
*/
|
private Integer type;
|
/**
|
* 省名称
|
*/
|
private String province;
|
/**
|
* 省编号
|
*/
|
private String provinceCode;
|
/**
|
* 市名称
|
*/
|
private String city;
|
/**
|
* 市编号
|
*/
|
private String cityCode;
|
/**
|
* 区县名称
|
*/
|
private String district;
|
/**
|
* 区县编号
|
*/
|
private String districtCode;
|
/**
|
* 电子围栏坐标,多组以下划线分隔;
|
*/
|
private String coordinate;
|
/**
|
* 电子围栏gid,多组以下划线分隔
|
*/
|
private String gid;
|
/**
|
* 电子围栏更新时间
|
*/
|
private Date updateTime;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
/**
|
* 添加时间【后端使用】
|
*/
|
private String addTime;
|
|
public String getAddTime() {
|
return addTime;
|
}
|
|
public void setAddTime(String addTime) {
|
this.addTime = addTime;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getSiteId() {
|
return siteId;
|
}
|
|
public void setSiteId(Integer siteId) {
|
this.siteId = siteId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public String getProvince() {
|
return province;
|
}
|
|
public void setProvince(String province) {
|
this.province = province;
|
}
|
|
public String getProvinceCode() {
|
return provinceCode;
|
}
|
|
public void setProvinceCode(String provinceCode) {
|
this.provinceCode = provinceCode;
|
}
|
|
public String getCity() {
|
return city;
|
}
|
|
public void setCity(String city) {
|
this.city = city;
|
}
|
|
public String getCityCode() {
|
return cityCode;
|
}
|
|
public void setCityCode(String cityCode) {
|
this.cityCode = cityCode;
|
}
|
|
public String getDistrict() {
|
return district;
|
}
|
|
public void setDistrict(String district) {
|
this.district = district;
|
}
|
|
public String getDistrictCode() {
|
return districtCode;
|
}
|
|
public void setDistrictCode(String districtCode) {
|
this.districtCode = districtCode;
|
}
|
|
public String getCoordinate() {
|
return coordinate;
|
}
|
|
public void setCoordinate(String coordinate) {
|
this.coordinate = coordinate;
|
}
|
|
public String getGid() {
|
return gid;
|
}
|
|
public void setGid(String gid) {
|
this.gid = gid;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TLocation{" +
|
"id=" + id +
|
", siteId=" + siteId +
|
", name='" + name + '\'' +
|
", type=" + type +
|
", province='" + province + '\'' +
|
", provinceCode='" + provinceCode + '\'' +
|
", city='" + city + '\'' +
|
", cityCode='" + cityCode + '\'' +
|
", district='" + district + '\'' +
|
", districtCode='" + districtCode + '\'' +
|
", coordinate='" + coordinate + '\'' +
|
", gid='" + gid + '\'' +
|
", updateTime=" + updateTime +
|
", state=" + state +
|
", insertTime=" + insertTime +
|
", addTime='" + addTime + '\'' +
|
'}';
|
}
|
}
|