package com.stylefeng.guns.modular.system.model;
|
|
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 stylefeng
|
* @since 2022-03-28
|
*/
|
@TableName("t_order_additional_fee")
|
public class TOrderAdditionalFee extends Model<TOrderAdditionalFee> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 订单类型(1=快车,2=出租车,3跨城出行,4=同城小件物流,5=跨城小件物流,6=包车,7=95128电召)
|
*/
|
private Integer orderType;
|
/**
|
* 订单id
|
*/
|
private Integer orderId;
|
/**
|
* 附加费id
|
*/
|
private Integer additionalFeeId;
|
/**
|
* 金额
|
*/
|
private Double amount;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getOrderType() {
|
return orderType;
|
}
|
|
public void setOrderType(Integer orderType) {
|
this.orderType = orderType;
|
}
|
|
public Integer getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(Integer orderId) {
|
this.orderId = orderId;
|
}
|
|
public Integer getAdditionalFeeId() {
|
return additionalFeeId;
|
}
|
|
public void setAdditionalFeeId(Integer additionalFeeId) {
|
this.additionalFeeId = additionalFeeId;
|
}
|
|
public Double getAmount() {
|
return amount;
|
}
|
|
public void setAmount(Double amount) {
|
this.amount = amount;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TOrderAdditionalFee{" +
|
"id=" + id +
|
", orderType=" + orderType +
|
", orderId=" + orderId +
|
", additionalFeeId=" + additionalFeeId +
|
", amount=" + amount +
|
"}";
|
}
|
}
|