package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
/**
*
*
*
*
* @author stylefeng
* @since 2023-02-03
*/
@TableName("t_order")
public class TOrder extends Model {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.ID_WORKER)
private Long id;
/**
* 用户id
*/
@TableField("user_id")
private Integer userId;
/**
* 发货日期
*/
@TableField("shipment_date")
private Date shipmentDate;
/**
* 洲id
*/
private Integer state;
/**
* cityid
*/
private Integer city;
/**
* portid
*/
private Integer port;
/**
* 是否附加服务 1是 2否
*/
private Integer accessorial;
/**
* 待定
*/
@TableField("accessorial_str")
private String accessorialStr;
public String getDeliveryStr() {
return deliveryStr;
}
public void setDeliveryStr(String deliveryStr) {
this.deliveryStr = deliveryStr;
}
@TableField("delivery_str")
private String deliveryStr;
/**
* 经度
*/
private String startLon;
/**
* 维度
*/
private String startLat;
@TableField("s_name")
private String sName;
@TableField("s_email")
private String sEmail;
@TableField("s_phone")
private String sPhone;
/**
* 收获日期
*/
@TableField("delivery_date")
private Date deliveryDate;
/**
* 1 live unload 2drop hook
*/
private String type;
@TableField("zip_code")
private String zipCode;
/**
* 亚马逊仓库信息 0为未选择
*/
private String warehouse;
/**
* 接单卡车公司id
*/
@TableField("company_id")
private Integer companyId;
@TableField("e_address")
private String eAddress;
@TableField("e_city")
private String eCity;
@TableField("e_state")
private String eState;
@TableField("e_zip_code")
private String eZipCode;
@TableField("e_zip_z")
private String eZipZ;
@TableField("e_company_name")
private String eCompanyName;
@TableField("e_name")
private String eName;
@TableField("e_email")
private String eEmail;
@TableField("e_phone")
private String ePhone;
/**
* 0未选择
*/
@TableField("exam_site")
private Integer examSite;
/**
* 开始司机id
*/
@TableField("s_driverId")
private Integer sDriverid;
public Integer getsDriverIdOne() {
return sDriverIdOne;
}
public void setsDriverIdOne(Integer sDriverIdOne) {
this.sDriverIdOne = sDriverIdOne;
}
public Integer geteDriverIdOne() {
return eDriverIdOne;
}
public void seteDriverIdOne(Integer eDriverIdOne) {
this.eDriverIdOne = eDriverIdOne;
}
@TableField("s_driverId_one")
private Integer sDriverIdOne;
@TableField("e_driverId_one")
private Integer eDriverIdOne;
/**
* 结束司机id
*/
@TableField("e_driverId")
private Integer eDriverid;
private String status;
@TableField("create_time")
private Date createTime;
@TableField("invoice_number")
private String invoiceNumber;
@TableField("allTotal")
private BigDecimal allTotal;
@TableField("paid")
private BigDecimal paid;
public Date getPayTime() {
return payTime;
}
public void setPayTime(Date payTime) {
this.payTime = payTime;
}
@TableField("pay_time")
private Date payTime;
@TableField("pay_status")
private Integer payStatus;
public Integer getOrderType() {
return orderType;
}
public void setOrderType(Integer orderType) {
this.orderType = orderType;
}
@TableField("order_ok_time")
private Date orderOkTime;
@TableField("order_type")
private Integer orderType;
public Integer getCarriersId() {
return carriersId;
}
public void setCarriersId(Integer carriersId) {
this.carriersId = carriersId;
}
@TableField("carriers_id")
private Integer carriersId;
public Integer getCarriersPayStatus() {
return carriersPayStatus;
}
public void setCarriersPayStatus(Integer carriersPayStatus) {
this.carriersPayStatus = carriersPayStatus;
}
public Date getPayCarriersTime() {
return payCarriersTime;
}
public void setPayCarriersTime(Date payCarriersTime) {
this.payCarriersTime = payCarriersTime;
}
@TableField("carriers_pay_status")
@ApiModelProperty("是否支付承运商 1是0否")
private Integer carriersPayStatus;
@TableField("pay_carriers_time")
private Date payCarriersTime;
@TableField("admin_invoice")
private Integer adminInvoice;
@TableField("admin_bill")
private Integer adminBill;
@TableField("company_invoice")
private Integer companyInvoice;
@TableField("company_bill")
private Integer companyBill;
public Integer getAdminInvoice() {
return adminInvoice;
}
public void setAdminInvoice(Integer adminInvoice) {
this.adminInvoice = adminInvoice;
}
public Integer getAdminBill() {
return adminBill;
}
public void setAdminBill(Integer adminBill) {
this.adminBill = adminBill;
}
public Integer getCompanyInvoice() {
return companyInvoice;
}
public void setCompanyInvoice(Integer companyInvoice) {
this.companyInvoice = companyInvoice;
}
public Integer getCompanyBill() {
return companyBill;
}
public void setCompanyBill(Integer companyBill) {
this.companyBill = companyBill;
}
public Date getOrderOkTime() {
return orderOkTime;
}
public void setOrderOkTime(Date orderOkTime) {
this.orderOkTime = orderOkTime;
}
public String getInvoiceNumber() {
return invoiceNumber;
}
public void setInvoiceNumber(String invoiceNumber) {
this.invoiceNumber = invoiceNumber;
}
public BigDecimal getAllTotal() {
return allTotal;
}
public void setAllTotal(BigDecimal allTotal) {
this.allTotal = allTotal;
}
public BigDecimal getPaid() {
return paid;
}
public void setPaid(BigDecimal paid) {
this.paid = paid;
}
public Integer getPayStatus() {
return payStatus;
}
public void setPayStatus(Integer payStatus) {
this.payStatus = payStatus;
}
public BigDecimal getPayMoney() {
return payMoney;
}
public void setPayMoney(BigDecimal payMoney) {
this.payMoney = payMoney;
}
public Date getSuccessTime() {
return successTime;
}
public void setSuccessTime(Date successTime) {
this.successTime = successTime;
}
public Integer getSendToCustomer() {
return sendToCustomer;
}
public void setSendToCustomer(Integer sendToCustomer) {
this.sendToCustomer = sendToCustomer;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Integer getPayInfoState() {
return payInfoState;
}
public void setPayInfoState(Integer payInfoState) {
this.payInfoState = payInfoState;
}
public Integer getPayAudit() {
return payAudit;
}
public void setPayAudit(Integer payAudit) {
this.payAudit = payAudit;
}
@TableField("pay_money")
private BigDecimal payMoney;
@TableField("success_time")
private Date successTime;
@TableField("send_to_customer")
private Integer sendToCustomer;
@TableField("remark")
private String remark;
@TableField("pay_info_state")
private Integer payInfoState;
@TableField("pay_audit")
private Integer payAudit;
@TableField("truck_company")
private String truckCompany;
public String getTruckCompany() {
return truckCompany;
}
public void setTruckCompany(String truckCompany) {
this.truckCompany = truckCompany;
}
public Date getPickupTimeTruck() {
return pickupTimeTruck;
}
public void setPickupTimeTruck(Date pickupTimeTruck) {
this.pickupTimeTruck = pickupTimeTruck;
}
@TableField("pickup_time_truck")
private Date pickupTimeTruck;
public Integer getStreetTurn() {
return streetTurn;
}
public void setStreetTurn(Integer streetTurn) {
this.streetTurn = streetTurn;
}
@TableField("street_turn")
private Integer streetTurn;
@TableField("nowDriverId")
private Integer nowDriverId;
public Integer getNowDriverId() {
return nowDriverId;
}
public void setNowDriverId(Integer nowDriverId) {
this.nowDriverId = nowDriverId;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Date getShipmentDate() {
return shipmentDate;
}
public void setShipmentDate(Date shipmentDate) {
this.shipmentDate = shipmentDate;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
public Integer getCity() {
return city;
}
public void setCity(Integer city) {
this.city = city;
}
public Integer getPort() {
return port;
}
public void setPort(Integer port) {
this.port = port;
}
public Integer getAccessorial() {
return accessorial;
}
public void setAccessorial(Integer accessorial) {
this.accessorial = accessorial;
}
public String getAccessorialStr() {
return accessorialStr;
}
public void setAccessorialStr(String accessorialStr) {
this.accessorialStr = accessorialStr;
}
public String getStartLon() {
return startLon;
}
public void setStartLon(String startLon) {
this.startLon = startLon;
}
public String getStartLat() {
return startLat;
}
public void setStartLat(String startLat) {
this.startLat = startLat;
}
public String getsName() {
return sName;
}
public void setsName(String sName) {
this.sName = sName;
}
public String getsEmail() {
return sEmail;
}
public void setsEmail(String sEmail) {
this.sEmail = sEmail;
}
public String getsPhone() {
return sPhone;
}
public void setsPhone(String sPhone) {
this.sPhone = sPhone;
}
public Date getDeliveryDate() {
return deliveryDate;
}
public void setDeliveryDate(Date deliveryDate) {
this.deliveryDate = deliveryDate;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getZipCode() {
return zipCode;
}
public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
public String getWarehouse() {
return warehouse;
}
public void setWarehouse(String warehouse) {
this.warehouse = warehouse;
}
public Integer getCompanyId() {
return companyId;
}
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
public String geteAddress() {
return eAddress;
}
public void seteAddress(String eAddress) {
this.eAddress = eAddress;
}
public String geteCity() {
return eCity;
}
public void seteCity(String eCity) {
this.eCity = eCity;
}
public String geteState() {
return eState;
}
public void seteState(String eState) {
this.eState = eState;
}
public String geteZipCode() {
return eZipCode;
}
public void seteZipCode(String eZipCode) {
this.eZipCode = eZipCode;
}
public String geteZipZ() {
return eZipZ;
}
public void seteZipZ(String eZipZ) {
this.eZipZ = eZipZ;
}
public String geteCompanyName() {
return eCompanyName;
}
public void seteCompanyName(String eCompanyName) {
this.eCompanyName = eCompanyName;
}
public String geteName() {
return eName;
}
public void seteName(String eName) {
this.eName = eName;
}
public String geteEmail() {
return eEmail;
}
public void seteEmail(String eEmail) {
this.eEmail = eEmail;
}
public String getePhone() {
return ePhone;
}
public void setePhone(String ePhone) {
this.ePhone = ePhone;
}
public Integer getExamSite() {
return examSite;
}
public void setExamSite(Integer examSite) {
this.examSite = examSite;
}
public Integer getsDriverid() {
return sDriverid;
}
public void setsDriverid(Integer sDriverid) {
this.sDriverid = sDriverid;
}
public Integer geteDriverid() {
return eDriverid;
}
public void seteDriverid(Integer eDriverid) {
this.eDriverid = eDriverid;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
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 "TOrder{" +
"id=" + id +
", userId=" + userId +
", shipmentDate=" + shipmentDate +
", state=" + state +
", city=" + city +
", port=" + port +
", accessorial=" + accessorial +
", accessorialStr=" + accessorialStr +
", startLon=" + startLon +
", startLat=" + startLat +
", sName=" + sName +
", sEmail=" + sEmail +
", sPhone=" + sPhone +
", deliveryDate=" + deliveryDate +
", type=" + type +
", zipCode=" + zipCode +
", warehouse=" + warehouse +
", companyId=" + companyId +
", eAddress=" + eAddress +
", eCity=" + eCity +
", eState=" + eState +
", eZipCode=" + eZipCode +
", eZipZ=" + eZipZ +
", eCompanyName=" + eCompanyName +
", eName=" + eName +
", eEmail=" + eEmail +
", ePhone=" + ePhone +
", examSite=" + examSite +
", sDriverid=" + sDriverid +
", eDriverid=" + eDriverid +
", status=" + status +
", createTime=" + createTime +
"}";
}
}