package com.stylefeng.guns.modular.shunfeng.model;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
* 顺风车设置
*
*
* @author wumeng123
* @since 2020-04-26
*/
@TableName("app_param_ride")
public class ParamRide extends Model {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 1价格设置,2平台抽成,3乘客退单,4司机退单
*/
private Integer type;
/**
* 距离类型(1-100,100-200,200-500,500-800,800以上)
*/
private Integer distanceType;
/**
* 内容
*/
private String context;
/**
* 描述
*/
private String remark;
private Integer openCityId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Integer getDistanceType() {
return distanceType;
}
public void setDistanceType(Integer distanceType) {
this.distanceType = distanceType;
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Integer getOpenCityId() {
return openCityId;
}
public void setOpenCityId(Integer openCityId) {
this.openCityId = openCityId;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "ParamRide{" +
"id=" + id +
", type=" + type +
", distanceType=" + distanceType +
", context=" + context +
", remark=" + remark +
", openCityId=" + openCityId +
"}";
}
}