package org.linlinjava.litemall.db.domain;

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

public class LitemallQuoteBill {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table litemall_quote_bill
     *
     * @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_bill
     *
     * @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_bill.id
     *
     * @mbg.generated
     */
    private Integer id;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.quote_end_date
     *
     * @mbg.generated
     */
    private LocalDateTime quoteEndDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.quote_supply_code
     *
     * @mbg.generated
     */
    private Integer[] quoteSupplyCode;

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.submit_date
     *
     * @mbg.generated
     */
    private LocalDateTime submitDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.dead_date
     *
     * @mbg.generated
     */
    private LocalDateTime deadDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.approve_code
     *
     * @mbg.generated
     */
    private Integer[] approveCode;

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.duty_choice
     *
     * @mbg.generated
     */
    private Integer[] dutyChoice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.ceo_choice
     *
     * @mbg.generated
     */
    private Integer[] ceoChoice;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_quote_bill.notice_code
     *
     * @mbg.generated
     */
    private Integer[] noticeCode;

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.id
     *
     * @return the value of litemall_quote_bill.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_bill.id
     *
     * @param id the value for litemall_quote_bill.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_bill.admin_id
     *
     * @return the value of litemall_quote_bill.admin_id
     *
     * @mbg.generated
     */
    public Integer getAdminId() {
        return adminId;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.quote_model_excel
     *
     * @return the value of litemall_quote_bill.quote_model_excel
     *
     * @mbg.generated
     */
    public String getQuoteModelExcel() {
        return quoteModelExcel;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.quote_end_date
     *
     * @return the value of litemall_quote_bill.quote_end_date
     *
     * @mbg.generated
     */
    public LocalDateTime getQuoteEndDate() {
        return quoteEndDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.quote_end_date
     *
     * @param quoteEndDate the value for litemall_quote_bill.quote_end_date
     *
     * @mbg.generated
     */
    public void setQuoteEndDate(LocalDateTime quoteEndDate) {
        this.quoteEndDate = quoteEndDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.quote_supply_code
     *
     * @return the value of litemall_quote_bill.quote_supply_code
     *
     * @mbg.generated
     */
    public Integer[] getQuoteSupplyCode() {
        return quoteSupplyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.quote_supply_code
     *
     * @param quoteSupplyCode the value for litemall_quote_bill.quote_supply_code
     *
     * @mbg.generated
     */
    public void setQuoteSupplyCode(Integer[] quoteSupplyCode) {
        this.quoteSupplyCode = quoteSupplyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.quote_supply_name
     *
     * @return the value of litemall_quote_bill.quote_supply_name
     *
     * @mbg.generated
     */
    public String getQuoteSupplyName() {
        return quoteSupplyName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.purchaser_note
     *
     * @return the value of litemall_quote_bill.purchaser_note
     *
     * @mbg.generated
     */
    public String getPurchaserNote() {
        return purchaserNote;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.status
     *
     * @return the value of litemall_quote_bill.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_bill.status
     *
     * @param status the value for litemall_quote_bill.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_bill.add_time
     *
     * @return the value of litemall_quote_bill.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_bill.add_time
     *
     * @param addTime the value for litemall_quote_bill.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_bill.update_time
     *
     * @return the value of litemall_quote_bill.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_bill.update_time
     *
     * @param updateTime the value for litemall_quote_bill.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_bill
     *
     * @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_bill.deleted
     *
     * @return the value of litemall_quote_bill.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_bill.deleted
     *
     * @param deleted the value for litemall_quote_bill.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_bill.model_name
     *
     * @return the value of litemall_quote_bill.model_name
     *
     * @mbg.generated
     */
    public Integer getModelName() {
        return modelName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.submit_date
     *
     * @return the value of litemall_quote_bill.submit_date
     *
     * @mbg.generated
     */
    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.submit_date
     *
     * @param submitDate the value for litemall_quote_bill.submit_date
     *
     * @mbg.generated
     */
    public void setSubmitDate(LocalDateTime submitDate) {
        this.submitDate = submitDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.dead_date
     *
     * @return the value of litemall_quote_bill.dead_date
     *
     * @mbg.generated
     */
    public LocalDateTime getDeadDate() {
        return deadDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.dead_date
     *
     * @param deadDate the value for litemall_quote_bill.dead_date
     *
     * @mbg.generated
     */
    public void setDeadDate(LocalDateTime deadDate) {
        this.deadDate = deadDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.approve_code
     *
     * @return the value of litemall_quote_bill.approve_code
     *
     * @mbg.generated
     */
    public Integer[] getApproveCode() {
        return approveCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.approve_code
     *
     * @param approveCode the value for litemall_quote_bill.approve_code
     *
     * @mbg.generated
     */
    public void setApproveCode(Integer[] approveCode) {
        this.approveCode = approveCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.duty_code
     *
     * @return the value of litemall_quote_bill.duty_code
     *
     * @mbg.generated
     */
    public Integer getDutyCode() {
        return dutyCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.ceo_code
     *
     * @return the value of litemall_quote_bill.ceo_code
     *
     * @mbg.generated
     */
    public Integer getCeoCode() {
        return ceoCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.duty_choice
     *
     * @return the value of litemall_quote_bill.duty_choice
     *
     * @mbg.generated
     */
    public Integer[] getDutyChoice() {
        return dutyChoice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.duty_choice
     *
     * @param dutyChoice the value for litemall_quote_bill.duty_choice
     *
     * @mbg.generated
     */
    public void setDutyChoice(Integer[] dutyChoice) {
        this.dutyChoice = dutyChoice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.ceo_choice
     *
     * @return the value of litemall_quote_bill.ceo_choice
     *
     * @mbg.generated
     */
    public Integer[] getCeoChoice() {
        return ceoChoice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.ceo_choice
     *
     * @param ceoChoice the value for litemall_quote_bill.ceo_choice
     *
     * @mbg.generated
     */
    public void setCeoChoice(Integer[] ceoChoice) {
        this.ceoChoice = ceoChoice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.to_ceo
     *
     * @return the value of litemall_quote_bill.to_ceo
     *
     * @mbg.generated
     */
    public String getToCeo() {
        return toCeo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.notice_code
     *
     * @return the value of litemall_quote_bill.notice_code
     *
     * @mbg.generated
     */
    public Integer[] getNoticeCode() {
        return noticeCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_quote_bill.notice_code
     *
     * @param noticeCode the value for litemall_quote_bill.notice_code
     *
     * @mbg.generated
     */
    public void setNoticeCode(Integer[] noticeCode) {
        this.noticeCode = noticeCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.is_reApprove
     *
     * @return the value of litemall_quote_bill.is_reApprove
     *
     * @mbg.generated
     */
    public Boolean getIsReapprove() {
        return isReapprove;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_quote_bill.is_ceo
     *
     * @return the value of litemall_quote_bill.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_bill.is_ceo
     *
     * @param isCeo the value for litemall_quote_bill.is_ceo
     *
     * @mbg.generated
     */
    public void setIsCeo(Boolean isCeo) {
        this.isCeo = isCeo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_bill
     *
     * @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(", adminId=").append(adminId);
        sb.append(", purchaser=").append(purchaser);
        sb.append(", quoteModelExcel=").append(quoteModelExcel);
        sb.append(", quoteEndDate=").append(quoteEndDate);
        sb.append(", quoteSupplyCode=").append(quoteSupplyCode);
        sb.append(", quoteSupplyName=").append(quoteSupplyName);
        sb.append(", purchaserNote=").append(purchaserNote);
        sb.append(", status=").append(status);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", deleted=").append(deleted);
        sb.append(", modelName=").append(modelName);
        sb.append(", submitDate=").append(submitDate);
        sb.append(", deadDate=").append(deadDate);
        sb.append(", approveCode=").append(approveCode);
        sb.append(", dutyCode=").append(dutyCode);
        sb.append(", ceoCode=").append(ceoCode);
        sb.append(", dutyChoice=").append(dutyChoice);
        sb.append(", ceoChoice=").append(ceoChoice);
        sb.append(", toCeo=").append(toCeo);
        sb.append(", noticeCode=").append(noticeCode);
        sb.append(", isReapprove=").append(isReapprove);
        sb.append(", isCeo=").append(isCeo);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_bill
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LitemallQuoteBill other = (LitemallQuoteBill) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getAdminId() == null ? other.getAdminId() == null : this.getAdminId().equals(other.getAdminId()))
            && (this.getPurchaser() == null ? other.getPurchaser() == null : this.getPurchaser().equals(other.getPurchaser()))
            && (this.getQuoteModelExcel() == null ? other.getQuoteModelExcel() == null : this.getQuoteModelExcel().equals(other.getQuoteModelExcel()))
            && (this.getQuoteEndDate() == null ? other.getQuoteEndDate() == null : this.getQuoteEndDate().equals(other.getQuoteEndDate()))
            && (Arrays.equals(this.getQuoteSupplyCode(), other.getQuoteSupplyCode()))
            && (this.getQuoteSupplyName() == null ? other.getQuoteSupplyName() == null : this.getQuoteSupplyName().equals(other.getQuoteSupplyName()))
            && (this.getPurchaserNote() == null ? other.getPurchaserNote() == null : this.getPurchaserNote().equals(other.getPurchaserNote()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (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.getModelName() == null ? other.getModelName() == null : this.getModelName().equals(other.getModelName()))
            && (this.getSubmitDate() == null ? other.getSubmitDate() == null : this.getSubmitDate().equals(other.getSubmitDate()))
            && (this.getDeadDate() == null ? other.getDeadDate() == null : this.getDeadDate().equals(other.getDeadDate()))
            && (Arrays.equals(this.getApproveCode(), other.getApproveCode()))
            && (this.getDutyCode() == null ? other.getDutyCode() == null : this.getDutyCode().equals(other.getDutyCode()))
            && (this.getCeoCode() == null ? other.getCeoCode() == null : this.getCeoCode().equals(other.getCeoCode()))
            && (Arrays.equals(this.getDutyChoice(), other.getDutyChoice()))
            && (Arrays.equals(this.getCeoChoice(), other.getCeoChoice()))
            && (this.getToCeo() == null ? other.getToCeo() == null : this.getToCeo().equals(other.getToCeo()))
            && (Arrays.equals(this.getNoticeCode(), other.getNoticeCode()))
            && (this.getIsReapprove() == null ? other.getIsReapprove() == null : this.getIsReapprove().equals(other.getIsReapprove()))
            && (this.getIsCeo() == null ? other.getIsCeo() == null : this.getIsCeo().equals(other.getIsCeo()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_quote_bill
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getAdminId() == null) ? 0 : getAdminId().hashCode());
        result = prime * result + ((getPurchaser() == null) ? 0 : getPurchaser().hashCode());
        result = prime * result + ((getQuoteModelExcel() == null) ? 0 : getQuoteModelExcel().hashCode());
        result = prime * result + ((getQuoteEndDate() == null) ? 0 : getQuoteEndDate().hashCode());
        result = prime * result + (Arrays.hashCode(getQuoteSupplyCode()));
        result = prime * result + ((getQuoteSupplyName() == null) ? 0 : getQuoteSupplyName().hashCode());
        result = prime * result + ((getPurchaserNote() == null) ? 0 : getPurchaserNote().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().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 + ((getModelName() == null) ? 0 : getModelName().hashCode());
        result = prime * result + ((getSubmitDate() == null) ? 0 : getSubmitDate().hashCode());
        result = prime * result + ((getDeadDate() == null) ? 0 : getDeadDate().hashCode());
        result = prime * result + (Arrays.hashCode(getApproveCode()));
        result = prime * result + ((getDutyCode() == null) ? 0 : getDutyCode().hashCode());
        result = prime * result + ((getCeoCode() == null) ? 0 : getCeoCode().hashCode());
        result = prime * result + (Arrays.hashCode(getDutyChoice()));
        result = prime * result + (Arrays.hashCode(getCeoChoice()));
        result = prime * result + ((getToCeo() == null) ? 0 : getToCeo().hashCode());
        result = prime * result + (Arrays.hashCode(getNoticeCode()));
        result = prime * result + ((getIsReapprove() == null) ? 0 : getIsReapprove().hashCode());
        result = prime * result + ((getIsCeo() == null) ? 0 : getIsCeo().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_quote_bill
     *
     * @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_bill
         *
         * @mbg.generated
         */
        private final Boolean value;

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_bill
         *
         * @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_bill
         *
         * @mbg.generated
         */
        public Boolean getValue() {
            return this.value;
        }

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

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

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_quote_bill
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "INTEGER", false),
        adminId("admin_id", "adminId", "INTEGER", false),
        purchaser("purchaser", "purchaser", "VARCHAR", false),
        quoteModelExcel("quote_model_excel", "quoteModelExcel", "VARCHAR", false),
        quoteEndDate("quote_end_date", "quoteEndDate", "TIMESTAMP", false),
        quoteSupplyCode("quote_supply_code", "quoteSupplyCode", "VARCHAR", false),
        quoteSupplyName("quote_supply_name", "quoteSupplyName", "VARCHAR", false),
        purchaserNote("purchaser_note", "purchaserNote", "VARCHAR", false),
        status("status", "status", "SMALLINT", true),
        addTime("add_time", "addTime", "TIMESTAMP", false),
        updateTime("update_time", "updateTime", "TIMESTAMP", false),
        deleted("deleted", "deleted", "BIT", false),
        modelName("model_name", "modelName", "INTEGER", false),
        submitDate("submit_date", "submitDate", "TIMESTAMP", false),
        deadDate("dead_date", "deadDate", "TIMESTAMP", false),
        approveCode("approve_code", "approveCode", "VARCHAR", false),
        dutyCode("duty_code", "dutyCode", "INTEGER", false),
        ceoCode("ceo_code", "ceoCode", "INTEGER", false),
        dutyChoice("duty_choice", "dutyChoice", "VARCHAR", false),
        ceoChoice("ceo_choice", "ceoChoice", "VARCHAR", false),
        toCeo("to_ceo", "toCeo", "VARCHAR", false),
        noticeCode("notice_code", "noticeCode", "VARCHAR", false),
        isReapprove("is_reApprove", "isReapprove", "BIT", false),
        isCeo("is_ceo", "isCeo", "BIT", false);

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

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

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

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

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

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

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

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

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_quote_bill
         *
         * @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_bill
         *
         * @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_bill
         *
         * @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_bill
         *
         * @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_bill
         *
         * @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_bill
         *
         * @mbg.generated
         */
        public String getAliasedEscapedColumnName() {
            return this.getEscapedColumnName();
        }
    }
}