package com.bailuntec.domain.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class TOrderShippings {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.Id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OrderNoPlatform
     *
     * @mbg.generated
     */
    private String ordernoplatform;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OrderNoSystem
     *
     * @mbg.generated
     */
    private String ordernosystem;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OrderSource
     *
     * @mbg.generated
     */
    private String ordersource;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipWarehouse
     *
     * @mbg.generated
     */
    private String shipwarehouse;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OrderExceptionStatus
     *
     * @mbg.generated
     */
    private String orderexceptionstatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ExceptionName
     *
     * @mbg.generated
     */
    private String exceptionname;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.IsShipAgain
     *
     * @mbg.generated
     */
    private Integer isshipagain;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.PeihuoStatus
     *
     * @mbg.generated
     */
    private String peihuostatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.PeihuoNo
     *
     * @mbg.generated
     */
    private String peihuono;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.PeihuoTime
     *
     * @mbg.generated
     */
    private LocalDateTime peihuotime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipStatus
     *
     * @mbg.generated
     */
    private String shipstatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OutWarehouseTime
     *
     * @mbg.generated
     */
    private LocalDateTime outwarehousetime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.OutWeight
     *
     * @mbg.generated
     */
    private BigDecimal outweight;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.PackageNo
     *
     * @mbg.generated
     */
    private String packageno;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.IsAssignLogistics
     *
     * @mbg.generated
     */
    private Integer isassignlogistics;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.AssignLogistics
     *
     * @mbg.generated
     */
    private String assignlogistics;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipLogistics
     *
     * @mbg.generated
     */
    private String shiplogistics;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.IsFaraway
     *
     * @mbg.generated
     */
    private Integer isfaraway;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.LogisticsNo
     *
     * @mbg.generated
     */
    private String logisticsno;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.CreateTime
     *
     * @mbg.generated
     */
    private LocalDateTime createtime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.UpdateTime
     *
     * @mbg.generated
     */
    private LocalDateTime updatetime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.Hid
     *
     * @mbg.generated
     */
    private Long hid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.PlatformExpress
     *
     * @mbg.generated
     */
    private String platformexpress;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipAddress
     *
     * @mbg.generated
     */
    private String shipaddress;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipCountry
     *
     * @mbg.generated
     */
    private String shipcountry;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.ShipFee
     *
     * @mbg.generated
     */
    private BigDecimal shipfee;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shippings.order_system
     *
     * @mbg.generated
     */
    private String orderSystem;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shippings
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ordernoplatform=").append(ordernoplatform);
        sb.append(", ordernosystem=").append(ordernosystem);
        sb.append(", ordersource=").append(ordersource);
        sb.append(", shipwarehouse=").append(shipwarehouse);
        sb.append(", orderexceptionstatus=").append(orderexceptionstatus);
        sb.append(", exceptionname=").append(exceptionname);
        sb.append(", isshipagain=").append(isshipagain);
        sb.append(", peihuostatus=").append(peihuostatus);
        sb.append(", peihuono=").append(peihuono);
        sb.append(", peihuotime=").append(peihuotime);
        sb.append(", shipstatus=").append(shipstatus);
        sb.append(", outwarehousetime=").append(outwarehousetime);
        sb.append(", outweight=").append(outweight);
        sb.append(", packageno=").append(packageno);
        sb.append(", isassignlogistics=").append(isassignlogistics);
        sb.append(", assignlogistics=").append(assignlogistics);
        sb.append(", shiplogistics=").append(shiplogistics);
        sb.append(", isfaraway=").append(isfaraway);
        sb.append(", logisticsno=").append(logisticsno);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", hid=").append(hid);
        sb.append(", platformexpress=").append(platformexpress);
        sb.append(", shipaddress=").append(shipaddress);
        sb.append(", shipcountry=").append(shipcountry);
        sb.append(", shipfee=").append(shipfee);
        sb.append(", orderSystem=").append(orderSystem);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shippings
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TOrderShippings other = (TOrderShippings) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdernoplatform() == null ? other.getOrdernoplatform() == null : this.getOrdernoplatform().equals(other.getOrdernoplatform()))
            && (this.getOrdernosystem() == null ? other.getOrdernosystem() == null : this.getOrdernosystem().equals(other.getOrdernosystem()))
            && (this.getOrdersource() == null ? other.getOrdersource() == null : this.getOrdersource().equals(other.getOrdersource()))
            && (this.getShipwarehouse() == null ? other.getShipwarehouse() == null : this.getShipwarehouse().equals(other.getShipwarehouse()))
            && (this.getOrderexceptionstatus() == null ? other.getOrderexceptionstatus() == null : this.getOrderexceptionstatus().equals(other.getOrderexceptionstatus()))
            && (this.getExceptionname() == null ? other.getExceptionname() == null : this.getExceptionname().equals(other.getExceptionname()))
            && (this.getIsshipagain() == null ? other.getIsshipagain() == null : this.getIsshipagain().equals(other.getIsshipagain()))
            && (this.getPeihuostatus() == null ? other.getPeihuostatus() == null : this.getPeihuostatus().equals(other.getPeihuostatus()))
            && (this.getPeihuono() == null ? other.getPeihuono() == null : this.getPeihuono().equals(other.getPeihuono()))
            && (this.getPeihuotime() == null ? other.getPeihuotime() == null : this.getPeihuotime().equals(other.getPeihuotime()))
            && (this.getShipstatus() == null ? other.getShipstatus() == null : this.getShipstatus().equals(other.getShipstatus()))
            && (this.getOutwarehousetime() == null ? other.getOutwarehousetime() == null : this.getOutwarehousetime().equals(other.getOutwarehousetime()))
            && (this.getOutweight() == null ? other.getOutweight() == null : this.getOutweight().equals(other.getOutweight()))
            && (this.getPackageno() == null ? other.getPackageno() == null : this.getPackageno().equals(other.getPackageno()))
            && (this.getIsassignlogistics() == null ? other.getIsassignlogistics() == null : this.getIsassignlogistics().equals(other.getIsassignlogistics()))
            && (this.getAssignlogistics() == null ? other.getAssignlogistics() == null : this.getAssignlogistics().equals(other.getAssignlogistics()))
            && (this.getShiplogistics() == null ? other.getShiplogistics() == null : this.getShiplogistics().equals(other.getShiplogistics()))
            && (this.getIsfaraway() == null ? other.getIsfaraway() == null : this.getIsfaraway().equals(other.getIsfaraway()))
            && (this.getLogisticsno() == null ? other.getLogisticsno() == null : this.getLogisticsno().equals(other.getLogisticsno()))
            && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()))
            && (this.getHid() == null ? other.getHid() == null : this.getHid().equals(other.getHid()))
            && (this.getPlatformexpress() == null ? other.getPlatformexpress() == null : this.getPlatformexpress().equals(other.getPlatformexpress()))
            && (this.getShipaddress() == null ? other.getShipaddress() == null : this.getShipaddress().equals(other.getShipaddress()))
            && (this.getShipcountry() == null ? other.getShipcountry() == null : this.getShipcountry().equals(other.getShipcountry()))
            && (this.getShipfee() == null ? other.getShipfee() == null : this.getShipfee().equals(other.getShipfee()))
            && (this.getOrderSystem() == null ? other.getOrderSystem() == null : this.getOrderSystem().equals(other.getOrderSystem()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shippings
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdernoplatform() == null) ? 0 : getOrdernoplatform().hashCode());
        result = prime * result + ((getOrdernosystem() == null) ? 0 : getOrdernosystem().hashCode());
        result = prime * result + ((getOrdersource() == null) ? 0 : getOrdersource().hashCode());
        result = prime * result + ((getShipwarehouse() == null) ? 0 : getShipwarehouse().hashCode());
        result = prime * result + ((getOrderexceptionstatus() == null) ? 0 : getOrderexceptionstatus().hashCode());
        result = prime * result + ((getExceptionname() == null) ? 0 : getExceptionname().hashCode());
        result = prime * result + ((getIsshipagain() == null) ? 0 : getIsshipagain().hashCode());
        result = prime * result + ((getPeihuostatus() == null) ? 0 : getPeihuostatus().hashCode());
        result = prime * result + ((getPeihuono() == null) ? 0 : getPeihuono().hashCode());
        result = prime * result + ((getPeihuotime() == null) ? 0 : getPeihuotime().hashCode());
        result = prime * result + ((getShipstatus() == null) ? 0 : getShipstatus().hashCode());
        result = prime * result + ((getOutwarehousetime() == null) ? 0 : getOutwarehousetime().hashCode());
        result = prime * result + ((getOutweight() == null) ? 0 : getOutweight().hashCode());
        result = prime * result + ((getPackageno() == null) ? 0 : getPackageno().hashCode());
        result = prime * result + ((getIsassignlogistics() == null) ? 0 : getIsassignlogistics().hashCode());
        result = prime * result + ((getAssignlogistics() == null) ? 0 : getAssignlogistics().hashCode());
        result = prime * result + ((getShiplogistics() == null) ? 0 : getShiplogistics().hashCode());
        result = prime * result + ((getIsfaraway() == null) ? 0 : getIsfaraway().hashCode());
        result = prime * result + ((getLogisticsno() == null) ? 0 : getLogisticsno().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        result = prime * result + ((getHid() == null) ? 0 : getHid().hashCode());
        result = prime * result + ((getPlatformexpress() == null) ? 0 : getPlatformexpress().hashCode());
        result = prime * result + ((getShipaddress() == null) ? 0 : getShipaddress().hashCode());
        result = prime * result + ((getShipcountry() == null) ? 0 : getShipcountry().hashCode());
        result = prime * result + ((getShipfee() == null) ? 0 : getShipfee().hashCode());
        result = prime * result + ((getOrderSystem() == null) ? 0 : getOrderSystem().hashCode());
        return result;
    }
}