package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
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;
|
|
/**
|
* <p>
|
* 服务价格规则
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-08-29
|
*/
|
@TableName("t_system_price")
|
public class TSystemPrice extends Model<TSystemPrice> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 业务类型(1=快车,2=出租车,3=城际,4=小件物流-同城,5=小件物流-跨城,6=包车)
|
*/
|
private Integer type;
|
/**
|
* 企业id
|
*/
|
private Integer companyId;
|
/**
|
* 服务车型id
|
*/
|
private Integer serverCarModelId;
|
/**
|
* 价格规则,每个输入框为一个参数{"num1":1,"num2":2.3}
|
*/
|
private String content;
|
/**
|
* 运价类型说明(拼车)
|
*/
|
@TableField("fareTypeNote1")
|
private String fareTypeNote1;
|
/**
|
* 运价类型说明(独享)
|
*/
|
@TableField("fareTypeNote2")
|
private String fareTypeNote2;
|
/**
|
* 运价类型说明(一口价)
|
*/
|
@TableField("fareTypeNote3")
|
private String fareTypeNote3;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 一人拼成
|
*/
|
@TableField("contentPutOne")
|
private String contentPutOne;
|
/**
|
* 一人未拼成
|
*/
|
@TableField("contentNotOne")
|
private String contentNotOne;
|
/**
|
* 2人拼成
|
*/
|
@TableField("contentPutTwo")
|
private String contentPutTwo;
|
/**
|
* 2人未拼成
|
*/
|
@TableField("contentNotTwo")
|
private String contentNotTwo;
|
/**
|
* 3人拼成
|
*/
|
@TableField("contentPutThree")
|
private String contentPutThree;
|
/**
|
* 3人未拼成
|
*/
|
@TableField("contentNotThree")
|
private String contentNotThree;
|
/**
|
* 独享
|
*/
|
@TableField("contentExclusive")
|
private String contentExclusive;
|
/**
|
* 一口价
|
*/
|
@TableField("contentPrice")
|
private String contentPrice;
|
/**
|
* 是否开启拼车(1=是,2=否)
|
*/
|
@TableField("isOpen")
|
private Integer isOpen;
|
/**
|
* 是否开启独享(1=是,2=否)
|
*/
|
@TableField("isOpenExclusive")
|
private Integer isOpenExclusive;
|
/**
|
* 是否开启一口价(1=是,2=否)
|
*/
|
@TableField("isOpenPrice")
|
private Integer isOpenPrice;
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
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 Integer getServerCarModelId() {
|
return serverCarModelId;
|
}
|
|
public void setServerCarModelId(Integer serverCarModelId) {
|
this.serverCarModelId = serverCarModelId;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public String getFareTypeNote1() {
|
return fareTypeNote1;
|
}
|
|
public void setFareTypeNote1(String fareTypeNote1) {
|
this.fareTypeNote1 = fareTypeNote1;
|
}
|
|
public String getFareTypeNote2() {
|
return fareTypeNote2;
|
}
|
|
public void setFareTypeNote2(String fareTypeNote2) {
|
this.fareTypeNote2 = fareTypeNote2;
|
}
|
|
public String getFareTypeNote3() {
|
return fareTypeNote3;
|
}
|
|
public void setFareTypeNote3(String fareTypeNote3) {
|
this.fareTypeNote3 = fareTypeNote3;
|
}
|
|
public String getContentPutOne() {
|
return contentPutOne;
|
}
|
|
public void setContentPutOne(String contentPutOne) {
|
this.contentPutOne = contentPutOne;
|
}
|
|
public String getContentNotOne() {
|
return contentNotOne;
|
}
|
|
public void setContentNotOne(String contentNotOne) {
|
this.contentNotOne = contentNotOne;
|
}
|
|
public String getContentPutTwo() {
|
return contentPutTwo;
|
}
|
|
public void setContentPutTwo(String contentPutTwo) {
|
this.contentPutTwo = contentPutTwo;
|
}
|
|
public String getContentNotTwo() {
|
return contentNotTwo;
|
}
|
|
public void setContentNotTwo(String contentNotTwo) {
|
this.contentNotTwo = contentNotTwo;
|
}
|
|
public String getContentPutThree() {
|
return contentPutThree;
|
}
|
|
public void setContentPutThree(String contentPutThree) {
|
this.contentPutThree = contentPutThree;
|
}
|
|
public String getContentNotThree() {
|
return contentNotThree;
|
}
|
|
public void setContentNotThree(String contentNotThree) {
|
this.contentNotThree = contentNotThree;
|
}
|
|
public String getContentExclusive() {
|
return contentExclusive;
|
}
|
|
public void setContentExclusive(String contentExclusive) {
|
this.contentExclusive = contentExclusive;
|
}
|
|
public String getContentPrice() {
|
return contentPrice;
|
}
|
|
public void setContentPrice(String contentPrice) {
|
this.contentPrice = contentPrice;
|
}
|
|
public Integer getIsOpen() {
|
return isOpen;
|
}
|
|
public void setIsOpen(Integer isOpen) {
|
this.isOpen = isOpen;
|
}
|
|
public Integer getIsOpenExclusive() {
|
return isOpenExclusive;
|
}
|
|
public void setIsOpenExclusive(Integer isOpenExclusive) {
|
this.isOpenExclusive = isOpenExclusive;
|
}
|
|
public Integer getIsOpenPrice() {
|
return isOpenPrice;
|
}
|
|
public void setIsOpenPrice(Integer isOpenPrice) {
|
this.isOpenPrice = isOpenPrice;
|
}
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TSystemPrice{" +
|
"id=" + id +
|
", type=" + type +
|
", companyId=" + companyId +
|
", serverCarModelId=" + serverCarModelId +
|
", content='" + content + '\'' +
|
", fareTypeNote1='" + fareTypeNote1 + '\'' +
|
", fareTypeNote2='" + fareTypeNote2 + '\'' +
|
", fareTypeNote3='" + fareTypeNote3 + '\'' +
|
", state=" + state +
|
", contentPutOne='" + contentPutOne + '\'' +
|
", contentNotOne='" + contentNotOne + '\'' +
|
", contentPutTwo='" + contentPutTwo + '\'' +
|
", contentNotTwo='" + contentNotTwo + '\'' +
|
", contentPutThree='" + contentPutThree + '\'' +
|
", contentNotThree='" + contentNotThree + '\'' +
|
", contentExclusive='" + contentExclusive + '\'' +
|
", contentPrice='" + contentPrice + '\'' +
|
", isOpen=" + isOpen +
|
", isOpenExclusive=" + isOpenExclusive +
|
", isOpenPrice=" + isOpenPrice +
|
'}';
|
}
|
}
|