package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
/**
|
* 服务价格规则
|
*/
|
@TableName("t_system_price")
|
public class SystemPrice {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 业务类型(1=专车,2=出租车,3=城际,4=小件物流-同城,5=小件物流-跨城,6=包车)
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 企业id
|
*/
|
@TableField("companyId")
|
private Integer companyId;
|
/**
|
* 服务车型设置
|
*/
|
@TableField("serverCarModelId")
|
private Integer serverCarModelId;
|
/**
|
* 价格规则,每个输入框为一个参数{"num1":1,"num2":2.3}
|
*/
|
@TableField("content")
|
private String content;
|
|
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 getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public Integer getServerCarModelId() {
|
return serverCarModelId;
|
}
|
|
public void setServerCarModelId(Integer serverCarModelId) {
|
this.serverCarModelId = serverCarModelId;
|
}
|
|
@Override
|
public String toString() {
|
return "SystemPrice{" +
|
"id=" + id +
|
", type=" + type +
|
", companyId=" + companyId +
|
", serverCarModelId=" + serverCarModelId +
|
", content='" + content + '\'' +
|
'}';
|
}
|
}
|