package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class LitemallQuoteRubber {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.quote_id
     *
     * @mbg.generated
     */
    private Integer quoteId;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.quantity_year
     *
     * @mbg.generated
     */
    private String quantityYear;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.device_type
     *
     * @mbg.generated
     */
    private String deviceType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.loose_core
     *
     * @mbg.generated
     */
    private String looseCore;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.material_price
     *
     * @mbg.generated
     */
    private BigDecimal materialPrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.mold_number
     *
     * @mbg.generated
     */
    private Integer moldNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.processing_cost_single
     *
     * @mbg.generated
     */
    private BigDecimal processingCostSingle;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.piece_weight
     *
     * @mbg.generated
     */
    private BigDecimal pieceWeight;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.mould_charge
     *
     * @mbg.generated
     */
    private BigDecimal mouldCharge;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.status
     *
     * @mbg.generated
     */
    private Short status;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.add_time
     *
     * @mbg.generated
     */
    private LocalDateTime addTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.update_time
     *
     * @mbg.generated
     */
    private LocalDateTime updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.deleted
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.bill_id
     *
     * @mbg.generated
     */
    private Boolean billId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.is_duty
     *
     * @mbg.generated
     */
    private Boolean isDuty;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.is_ceo
     *
     * @mbg.generated
     */
    private Boolean isCeo;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_rubber.is_recheck
     *
     * @mbg.generated
     */
    private Boolean isRecheck;

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.id
     *
     * @return the value of litemall_quote_rubber.id
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.id
     *
     * @param id the value for litemall_quote_rubber.id
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.quote_id
     *
     * @return the value of litemall_quote_rubber.quote_id
     *
     * @mbg.generated
     */
    public Integer getQuoteId() {
        return quoteId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.quote_id
     *
     * @param quoteId the value for litemall_quote_rubber.quote_id
     *
     * @mbg.generated
     */
    public void setQuoteId(Integer quoteId) {
        this.quoteId = quoteId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.code
     *
     * @return the value of litemall_quote_rubber.code
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.code
     *
     * @param code the value for litemall_quote_rubber.code
     *
     * @mbg.generated
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.name
     *
     * @return the value of litemall_quote_rubber.name
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.name
     *
     * @param name the value for litemall_quote_rubber.name
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.spec
     *
     * @return the value of litemall_quote_rubber.spec
     *
     * @mbg.generated
     */
    public String getSpec() {
        return spec;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.spec
     *
     * @param spec the value for litemall_quote_rubber.spec
     *
     * @mbg.generated
     */
    public void setSpec(String spec) {
        this.spec = spec;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.weight
     *
     * @return the value of litemall_quote_rubber.weight
     *
     * @mbg.generated
     */
    public BigDecimal getWeight() {
        return weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.weight
     *
     * @param weight the value for litemall_quote_rubber.weight
     *
     * @mbg.generated
     */
    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.material
     *
     * @return the value of litemall_quote_rubber.material
     *
     * @mbg.generated
     */
    public String getMaterial() {
        return material;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.material
     *
     * @param material the value for litemall_quote_rubber.material
     *
     * @mbg.generated
     */
    public void setMaterial(String material) {
        this.material = material;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.quantity_year
     *
     * @return the value of litemall_quote_rubber.quantity_year
     *
     * @mbg.generated
     */
    public String getQuantityYear() {
        return quantityYear;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.quantity_year
     *
     * @param quantityYear the value for litemall_quote_rubber.quantity_year
     *
     * @mbg.generated
     */
    public void setQuantityYear(String quantityYear) {
        this.quantityYear = quantityYear;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.device_type
     *
     * @return the value of litemall_quote_rubber.device_type
     *
     * @mbg.generated
     */
    public String getDeviceType() {
        return deviceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.device_type
     *
     * @param deviceType the value for litemall_quote_rubber.device_type
     *
     * @mbg.generated
     */
    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.loose_core
     *
     * @return the value of litemall_quote_rubber.loose_core
     *
     * @mbg.generated
     */
    public String getLooseCore() {
        return looseCore;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.loose_core
     *
     * @param looseCore the value for litemall_quote_rubber.loose_core
     *
     * @mbg.generated
     */
    public void setLooseCore(String looseCore) {
        this.looseCore = looseCore;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.material_price
     *
     * @return the value of litemall_quote_rubber.material_price
     *
     * @mbg.generated
     */
    public BigDecimal getMaterialPrice() {
        return materialPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.material_price
     *
     * @param materialPrice the value for litemall_quote_rubber.material_price
     *
     * @mbg.generated
     */
    public void setMaterialPrice(BigDecimal materialPrice) {
        this.materialPrice = materialPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.mold_number
     *
     * @return the value of litemall_quote_rubber.mold_number
     *
     * @mbg.generated
     */
    public Integer getMoldNumber() {
        return moldNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.mold_number
     *
     * @param moldNumber the value for litemall_quote_rubber.mold_number
     *
     * @mbg.generated
     */
    public void setMoldNumber(Integer moldNumber) {
        this.moldNumber = moldNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.processing_cost_single
     *
     * @return the value of litemall_quote_rubber.processing_cost_single
     *
     * @mbg.generated
     */
    public BigDecimal getProcessingCostSingle() {
        return processingCostSingle;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.processing_cost_single
     *
     * @param processingCostSingle the value for litemall_quote_rubber.processing_cost_single
     *
     * @mbg.generated
     */
    public void setProcessingCostSingle(BigDecimal processingCostSingle) {
        this.processingCostSingle = processingCostSingle;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.piece_weight
     *
     * @return the value of litemall_quote_rubber.piece_weight
     *
     * @mbg.generated
     */
    public BigDecimal getPieceWeight() {
        return pieceWeight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.piece_weight
     *
     * @param pieceWeight the value for litemall_quote_rubber.piece_weight
     *
     * @mbg.generated
     */
    public void setPieceWeight(BigDecimal pieceWeight) {
        this.pieceWeight = pieceWeight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.mould_charge
     *
     * @return the value of litemall_quote_rubber.mould_charge
     *
     * @mbg.generated
     */
    public BigDecimal getMouldCharge() {
        return mouldCharge;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.mould_charge
     *
     * @param mouldCharge the value for litemall_quote_rubber.mould_charge
     *
     * @mbg.generated
     */
    public void setMouldCharge(BigDecimal mouldCharge) {
        this.mouldCharge = mouldCharge;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.status
     *
     * @return the value of litemall_quote_rubber.status
     *
     * @mbg.generated
     */
    public Short getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.status
     *
     * @param status the value for litemall_quote_rubber.status
     *
     * @mbg.generated
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.note
     *
     * @return the value of litemall_quote_rubber.note
     *
     * @mbg.generated
     */
    public String getNote() {
        return note;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.note
     *
     * @param note the value for litemall_quote_rubber.note
     *
     * @mbg.generated
     */
    public void setNote(String note) {
        this.note = note;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.add_time
     *
     * @return the value of litemall_quote_rubber.add_time
     *
     * @mbg.generated
     */
    public LocalDateTime getAddTime() {
        return addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.add_time
     *
     * @param addTime the value for litemall_quote_rubber.add_time
     *
     * @mbg.generated
     */
    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.update_time
     *
     * @return the value of litemall_quote_rubber.update_time
     *
     * @mbg.generated
     */
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.update_time
     *
     * @param updateTime the value for litemall_quote_rubber.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    public void andLogicalDeleted(boolean deleted) {
        setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.deleted
     *
     * @return the value of litemall_quote_rubber.deleted
     *
     * @mbg.generated
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.deleted
     *
     * @param deleted the value for litemall_quote_rubber.deleted
     *
     * @mbg.generated
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.bill_id
     *
     * @return the value of litemall_quote_rubber.bill_id
     *
     * @mbg.generated
     */
    public Boolean getBillId() {
        return billId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.bill_id
     *
     * @param billId the value for litemall_quote_rubber.bill_id
     *
     * @mbg.generated
     */
    public void setBillId(Boolean billId) {
        this.billId = billId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.is_duty
     *
     * @return the value of litemall_quote_rubber.is_duty
     *
     * @mbg.generated
     */
    public Boolean getIsDuty() {
        return isDuty;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.is_duty
     *
     * @param isDuty the value for litemall_quote_rubber.is_duty
     *
     * @mbg.generated
     */
    public void setIsDuty(Boolean isDuty) {
        this.isDuty = isDuty;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.is_ceo
     *
     * @return the value of litemall_quote_rubber.is_ceo
     *
     * @mbg.generated
     */
    public Boolean getIsCeo() {
        return isCeo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.is_ceo
     *
     * @param isCeo the value for litemall_quote_rubber.is_ceo
     *
     * @mbg.generated
     */
    public void setIsCeo(Boolean isCeo) {
        this.isCeo = isCeo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.is_recheck
     *
     * @return the value of litemall_quote_rubber.is_recheck
     *
     * @mbg.generated
     */
    public Boolean getIsRecheck() {
        return isRecheck;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.is_recheck
     *
     * @param isRecheck the value for litemall_quote_rubber.is_recheck
     *
     * @mbg.generated
     */
    public void setIsRecheck(Boolean isRecheck) {
        this.isRecheck = isRecheck;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_rubber.appendix
     *
     * @return the value of litemall_quote_rubber.appendix
     *
     * @mbg.generated
     */
    public String getAppendix() {
        return appendix;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_rubber.appendix
     *
     * @param appendix the value for litemall_quote_rubber.appendix
     *
     * @mbg.generated
     */
    public void setAppendix(String appendix) {
        this.appendix = appendix;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", IS_DELETED=").append(IS_DELETED);
        sb.append(", NOT_DELETED=").append(NOT_DELETED);
        sb.append(", id=").append(id);
        sb.append(", quoteId=").append(quoteId);
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", spec=").append(spec);
        sb.append(", weight=").append(weight);
        sb.append(", material=").append(material);
        sb.append(", quantityYear=").append(quantityYear);
        sb.append(", deviceType=").append(deviceType);
        sb.append(", looseCore=").append(looseCore);
        sb.append(", materialPrice=").append(materialPrice);
        sb.append(", moldNumber=").append(moldNumber);
        sb.append(", processingCostSingle=").append(processingCostSingle);
        sb.append(", pieceWeight=").append(pieceWeight);
        sb.append(", mouldCharge=").append(mouldCharge);
        sb.append(", status=").append(status);
        sb.append(", note=").append(note);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", deleted=").append(deleted);
        sb.append(", billId=").append(billId);
        sb.append(", isDuty=").append(isDuty);
        sb.append(", isCeo=").append(isCeo);
        sb.append(", isRecheck=").append(isRecheck);
        sb.append(", appendix=").append(appendix);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LitemallQuoteRubber other = (LitemallQuoteRubber) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getQuoteId() == null ? other.getQuoteId() == null : this.getQuoteId().equals(other.getQuoteId()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getSpec() == null ? other.getSpec() == null : this.getSpec().equals(other.getSpec()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getMaterial() == null ? other.getMaterial() == null : this.getMaterial().equals(other.getMaterial()))
            && (this.getQuantityYear() == null ? other.getQuantityYear() == null : this.getQuantityYear().equals(other.getQuantityYear()))
            && (this.getDeviceType() == null ? other.getDeviceType() == null : this.getDeviceType().equals(other.getDeviceType()))
            && (this.getLooseCore() == null ? other.getLooseCore() == null : this.getLooseCore().equals(other.getLooseCore()))
            && (this.getMaterialPrice() == null ? other.getMaterialPrice() == null : this.getMaterialPrice().equals(other.getMaterialPrice()))
            && (this.getMoldNumber() == null ? other.getMoldNumber() == null : this.getMoldNumber().equals(other.getMoldNumber()))
            && (this.getProcessingCostSingle() == null ? other.getProcessingCostSingle() == null : this.getProcessingCostSingle().equals(other.getProcessingCostSingle()))
            && (this.getPieceWeight() == null ? other.getPieceWeight() == null : this.getPieceWeight().equals(other.getPieceWeight()))
            && (this.getMouldCharge() == null ? other.getMouldCharge() == null : this.getMouldCharge().equals(other.getMouldCharge()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getNote() == null ? other.getNote() == null : this.getNote().equals(other.getNote()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
            && (this.getBillId() == null ? other.getBillId() == null : this.getBillId().equals(other.getBillId()))
            && (this.getIsDuty() == null ? other.getIsDuty() == null : this.getIsDuty().equals(other.getIsDuty()))
            && (this.getIsCeo() == null ? other.getIsCeo() == null : this.getIsCeo().equals(other.getIsCeo()))
            && (this.getIsRecheck() == null ? other.getIsRecheck() == null : this.getIsRecheck().equals(other.getIsRecheck()))
            && (this.getAppendix() == null ? other.getAppendix() == null : this.getAppendix().equals(other.getAppendix()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getQuoteId() == null) ? 0 : getQuoteId().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getSpec() == null) ? 0 : getSpec().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getMaterial() == null) ? 0 : getMaterial().hashCode());
        result = prime * result + ((getQuantityYear() == null) ? 0 : getQuantityYear().hashCode());
        result = prime * result + ((getDeviceType() == null) ? 0 : getDeviceType().hashCode());
        result = prime * result + ((getLooseCore() == null) ? 0 : getLooseCore().hashCode());
        result = prime * result + ((getMaterialPrice() == null) ? 0 : getMaterialPrice().hashCode());
        result = prime * result + ((getMoldNumber() == null) ? 0 : getMoldNumber().hashCode());
        result = prime * result + ((getProcessingCostSingle() == null) ? 0 : getProcessingCostSingle().hashCode());
        result = prime * result + ((getPieceWeight() == null) ? 0 : getPieceWeight().hashCode());
        result = prime * result + ((getMouldCharge() == null) ? 0 : getMouldCharge().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getNote() == null) ? 0 : getNote().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
        result = prime * result + ((getBillId() == null) ? 0 : getBillId().hashCode());
        result = prime * result + ((getIsDuty() == null) ? 0 : getIsDuty().hashCode());
        result = prime * result + ((getIsCeo() == null) ? 0 : getIsCeo().hashCode());
        result = prime * result + ((getIsRecheck() == null) ? 0 : getIsRecheck().hashCode());
        result = prime * result + ((getAppendix() == null) ? 0 : getAppendix().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    public enum Deleted {
        NOT_DELETED(new Boolean("0"), "未删除"),
        IS_DELETED(new Boolean("1"), "已删除");

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final Boolean value;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final String name;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        Deleted(Boolean value, String name) {
            this.value = value;
            this.name = name;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public Boolean getValue() {
            return this.value;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public Boolean value() {
            return this.value;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getName() {
            return this.name;
        }
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_quote_rubber
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "INTEGER", false),
        quoteId("quote_id", "quoteId", "INTEGER", false),
        code("code", "code", "VARCHAR", false),
        name("name", "name", "VARCHAR", true),
        spec("spec", "spec", "VARCHAR", false),
        weight("weight", "weight", "DECIMAL", false),
        material("material", "material", "VARCHAR", false),
        quantityYear("quantity_year", "quantityYear", "VARCHAR", false),
        deviceType("device_type", "deviceType", "VARCHAR", false),
        looseCore("loose_core", "looseCore", "VARCHAR", false),
        materialPrice("material_price", "materialPrice", "DECIMAL", false),
        moldNumber("mold_number", "moldNumber", "INTEGER", false),
        processingCostSingle("processing_cost_single", "processingCostSingle", "DECIMAL", false),
        pieceWeight("piece_weight", "pieceWeight", "DECIMAL", false),
        mouldCharge("mould_charge", "mouldCharge", "DECIMAL", false),
        status("status", "status", "SMALLINT", true),
        note("note", "note", "VARCHAR", false),
        addTime("add_time", "addTime", "TIMESTAMP", false),
        updateTime("update_time", "updateTime", "TIMESTAMP", false),
        deleted("deleted", "deleted", "BIT", false),
        billId("bill_id", "billId", "BIT", false),
        isDuty("is_duty", "isDuty", "BIT", false),
        isCeo("is_ceo", "isCeo", "BIT", false),
        isRecheck("is_recheck", "isRecheck", "BIT", false),
        appendix("appendix", "appendix", "LONGVARCHAR", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_rubber
         *
         * @mbg.generated
         */
        public String getAliasedEscapedColumnName() {
            return this.getEscapedColumnName();
        }
    }
}