package com.sifang.modules.supply.order.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "crm_supply_check_pending_order")
public class CrmSupplyCheckPendingOrder implements Serializable {

    private String id;

    private String orderId;

    private String code;

    private String warehouseId;

    private String warehouseName;

    private String orderType;

    private String expressNo;

    private String deliverMethodId;

    private String deliverMethodName;

    private String forwardingUnit;

    private String receivingUnit;

    private Date deliverTime;

    private Date placeOrderTime;

    private String remarks;

    private String deliverRemarks;

    private String status;

    private Date createTime;

    private String auditBy;

    private String auditName;

    private Date auditTime;

    private String reasonsForFailure;

    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public String getDeliverMethodId() {
        return deliverMethodId;
    }

    public void setDeliverMethodId(String deliverMethodId) {
        this.deliverMethodId = deliverMethodId;
    }

    public String getDeliverMethodName() {
        return deliverMethodName;
    }

    public void setDeliverMethodName(String deliverMethodName) {
        this.deliverMethodName = deliverMethodName;
    }

    public String getForwardingUnit() {
        return forwardingUnit;
    }

    public void setForwardingUnit(String forwardingUnit) {
        this.forwardingUnit = forwardingUnit;
    }

    public String getReceivingUnit() {
        return receivingUnit;
    }

    public void setReceivingUnit(String receivingUnit) {
        this.receivingUnit = receivingUnit;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }

    public Date getPlaceOrderTime() {
        return placeOrderTime;
    }

    public void setPlaceOrderTime(Date placeOrderTime) {
        this.placeOrderTime = placeOrderTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDeliverRemarks() {
        return deliverRemarks;
    }

    public void setDeliverRemarks(String deliverRemarks) {
        this.deliverRemarks = deliverRemarks;
    }

    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;
    }

    public String getAuditBy() {
        return auditBy;
    }

    public void setAuditBy(String auditBy) {
        this.auditBy = auditBy;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getReasonsForFailure() {
        return reasonsForFailure;
    }

    public void setReasonsForFailure(String reasonsForFailure) {
        this.reasonsForFailure = reasonsForFailure;
    }

    @Override
    public String toString() {
        return "CrmSupplyCheckPendingOrder{" +
                "id='" + id + '\'' +
                ", orderId='" + orderId + '\'' +
                ", code='" + code + '\'' +
                ", warehouseId='" + warehouseId + '\'' +
                ", warehouseName='" + warehouseName + '\'' +
                ", orderType='" + orderType + '\'' +
                ", expressNo='" + expressNo + '\'' +
                ", deliverMethodId='" + deliverMethodId + '\'' +
                ", deliverMethodName='" + deliverMethodName + '\'' +
                ", forwardingUnit='" + forwardingUnit + '\'' +
                ", receivingUnit='" + receivingUnit + '\'' +
                ", deliverTime=" + deliverTime +
                ", placeOrderTime=" + placeOrderTime +
                ", remarks='" + remarks + '\'' +
                ", deliverRemarks='" + deliverRemarks + '\'' +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                ", auditBy='" + auditBy + '\'' +
                ", auditName='" + auditName + '\'' +
                ", auditTime=" + auditTime +
                ", reasonsForFailure='" + reasonsForFailure + '\'' +
                '}';
    }
}
