package com.stylefeng.guns.modular.system.model;
|
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 发票金额差异
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-12-29
|
*/
|
@TableName("t_variances")
|
public class TVariances extends Model<TVariances> {
|
|
private static final long serialVersionUID = 1L;
|
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("user_id")
|
private Integer userId;
|
/**
|
* 订单id
|
*/
|
@TableField("order_id")
|
@JsonSerialize(
|
using = ToStringSerializer.class
|
)
|
private Long orderId;
|
/**
|
* 销售id
|
*/
|
@TableField("sales_id")
|
private Integer salesId;
|
/**
|
* 卡车公司id
|
*/
|
@TableField("trucking_company_id")
|
private Integer truckingCompanyId;
|
/**
|
* 起点
|
*/
|
private String origin;
|
/**
|
* 终点
|
*/
|
private String destination;
|
/**
|
* 差异金额
|
*/
|
@TableField("variance_amount")
|
private Double varianceAmount;
|
/**
|
* 发票金额
|
*/
|
@TableField("invoice_total")
|
private Double invoiceTotal;
|
/**
|
* 承运报价
|
*/
|
@TableField("carrier_quote")
|
private Double carrierQuote;
|
/**
|
* 客户报价
|
*/
|
@TableField("customer_quote")
|
private Double customerQuote;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Long getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(Long orderId) {
|
this.orderId = orderId;
|
}
|
|
public Integer getSalesId() {
|
return salesId;
|
}
|
|
public void setSalesId(Integer salesId) {
|
this.salesId = salesId;
|
}
|
|
public Integer getTruckingCompanyId() {
|
return truckingCompanyId;
|
}
|
|
public void setTruckingCompanyId(Integer truckingCompanyId) {
|
this.truckingCompanyId = truckingCompanyId;
|
}
|
|
public String getOrigin() {
|
return origin;
|
}
|
|
public void setOrigin(String origin) {
|
this.origin = origin;
|
}
|
|
public String getDestination() {
|
return destination;
|
}
|
|
public void setDestination(String destination) {
|
this.destination = destination;
|
}
|
|
public Double getVarianceAmount() {
|
return varianceAmount;
|
}
|
|
public void setVarianceAmount(Double varianceAmount) {
|
this.varianceAmount = varianceAmount;
|
}
|
|
public Double getInvoiceTotal() {
|
return invoiceTotal;
|
}
|
|
public void setInvoiceTotal(Double invoiceTotal) {
|
this.invoiceTotal = invoiceTotal;
|
}
|
|
public Double getCarrierQuote() {
|
return carrierQuote;
|
}
|
|
public void setCarrierQuote(Double carrierQuote) {
|
this.carrierQuote = carrierQuote;
|
}
|
|
public Double getCustomerQuote() {
|
return customerQuote;
|
}
|
|
public void setCustomerQuote(Double customerQuote) {
|
this.customerQuote = customerQuote;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TVariances{" +
|
"id=" + id +
|
", userId=" + userId +
|
", orderId=" + orderId +
|
", salesId=" + salesId +
|
", truckingCompanyId=" + truckingCompanyId +
|
", origin=" + origin +
|
", destination=" + destination +
|
", varianceAmount=" + varianceAmount +
|
", invoiceTotal=" + invoiceTotal +
|
", carrierQuote=" + carrierQuote +
|
", customerQuote=" + customerQuote +
|
", createTime=" + createTime +
|
"}";
|
}
|
}
|