package com.dsh.guns.modular.system.model;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.util.Date;
|
|
/**
|
* <p>
|
* banner信息表
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-06-17
|
*/
|
@TableName("t_hot_address")
|
public class TbHotAddress extends Model<TbHotAddress> {
|
private static final long serialVersionUID = 1L;
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 图片
|
*/
|
@TableField("cityId")
|
private Integer cityId;
|
@TableField("name")
|
private String name;
|
@TableField("areaId")
|
private Integer areaId;
|
|
public Integer getAreaId() {
|
return areaId;
|
}
|
|
public void setAreaId(Integer areaId) {
|
this.areaId = areaId;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getCityId() {
|
return cityId;
|
}
|
|
public void setCityId(Integer cityId) {
|
this.cityId = cityId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public Double getLon() {
|
return lon;
|
}
|
|
public void setLon(Double lon) {
|
this.lon = lon;
|
}
|
|
public Double getLat() {
|
return lat;
|
}
|
|
public void setLat(Double lat) {
|
this.lat = lat;
|
}
|
|
public Integer getHide() {
|
return hide;
|
}
|
|
public void setHide(Integer hide) {
|
this.hide = hide;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
@TableField("address")
|
private String address;
|
@TableField("lon")
|
private Double lon;
|
@TableField("lat")
|
private Double lat;
|
|
// 是否隐藏(1是 0否)
|
@TableField("hide")
|
private Integer hide;
|
@TableField("createTime")
|
private Date createTime;
|
@TableField("sort")
|
private Integer sort;
|
|
public String getPname() {
|
return pname;
|
}
|
|
public void setPname(String pname) {
|
this.pname = pname;
|
}
|
|
@TableField(exist = false)
|
private String pname;
|
|
}
|