package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 线路目的地配置
|
* </p>
|
*
|
* @author Codex
|
* @since 2026-04-19
|
*/
|
@TableName("t_line_destination")
|
public class TLineDestination extends Model<TLineDestination> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
private Integer lineId;
|
|
private String name;
|
|
/**
|
* 围栏类型(1=圆形围栏,2=多边形围栏)
|
*/
|
private Integer fenceType;
|
|
/**
|
* 围栏坐标(圆:lng,lat;radius;多边形:lng,lat;lng,lat...)
|
*/
|
private String coordinate;
|
|
private Double defaultPointLon;
|
|
private Double defaultPointLat;
|
|
private BigDecimal price5;
|
|
private BigDecimal price7;
|
|
/**
|
* 状态(1=启用,2=关闭,3=删除)
|
*/
|
private Integer state;
|
|
/**
|
* 是否主要(1=是,0=否)
|
*/
|
private Integer isMain;
|
|
private String addTime;
|
|
private Date insertTime;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getLineId() {
|
return lineId;
|
}
|
|
public void setLineId(Integer lineId) {
|
this.lineId = lineId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getFenceType() {
|
return fenceType;
|
}
|
|
public void setFenceType(Integer fenceType) {
|
this.fenceType = fenceType;
|
}
|
|
public String getCoordinate() {
|
return coordinate;
|
}
|
|
public void setCoordinate(String coordinate) {
|
this.coordinate = coordinate;
|
}
|
|
public Double getDefaultPointLon() {
|
return defaultPointLon;
|
}
|
|
public void setDefaultPointLon(Double defaultPointLon) {
|
this.defaultPointLon = defaultPointLon;
|
}
|
|
public Double getDefaultPointLat() {
|
return defaultPointLat;
|
}
|
|
public void setDefaultPointLat(Double defaultPointLat) {
|
this.defaultPointLat = defaultPointLat;
|
}
|
|
public BigDecimal getPrice5() {
|
return price5;
|
}
|
|
public void setPrice5(BigDecimal price5) {
|
this.price5 = price5;
|
}
|
|
public BigDecimal getPrice7() {
|
return price7;
|
}
|
|
public void setPrice7(BigDecimal price7) {
|
this.price7 = price7;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getIsMain() {
|
return isMain;
|
}
|
|
public void setIsMain(Integer isMain) {
|
this.isMain = isMain;
|
}
|
|
public String getAddTime() {
|
return addTime;
|
}
|
|
public void setAddTime(String addTime) {
|
this.addTime = addTime;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|