package org.linlinjava.jz.db.domain;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.customer_client_id
     *
     * @mbg.generated
     */
    private Long customerClientId;

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.signing_time
     *
     * @mbg.generated
     */
    private LocalDateTime signingTime;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.servant_salary
     *
     * @mbg.generated
     */
    private Double servantSalary;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.contract_amount
     *
     * @mbg.generated
     */
    private Double contractAmount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.intermediary_cost
     *
     * @mbg.generated
     */
    private Double intermediaryCost;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.payable_contract_money
     *
     * @mbg.generated
     */
    private Double payableContractMoney;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.payment_money
     *
     * @mbg.generated
     */
    private Double paymentMoney;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.obligations_money
     *
     * @mbg.generated
     */
    private Double obligationsMoney;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.pay_time
     *
     * @mbg.generated
     */
    private LocalDateTime payTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.contract_start_date
     *
     * @mbg.generated
     */
    private LocalDate contractStartDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.contract_end_date
     *
     * @mbg.generated
     */
    private LocalDate contractEndDate;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.refund_amount
     *
     * @mbg.generated
     */
    private Double refundAmount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.contract_terminate_date
     *
     * @mbg.generated
     */
    private LocalDate contractTerminateDate;

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.create_time
     *
     * @mbg.generated
     */
    private LocalDateTime createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.create_user_id
     *
     * @mbg.generated
     */
    private Long createUserId;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column contract_master.update_user_id
     *
     * @mbg.generated
     */
    private Long updateUserId;

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

    private String charge;

    private String city;

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.master_contract_no
     *
     * @return the value of contract_master.master_contract_no
     *
     * @mbg.generated
     */
    public String getMasterContractNo() {
        return masterContractNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.master_order_no
     *
     * @return the value of contract_master.master_order_no
     *
     * @mbg.generated
     */
    public String getMasterOrderNo() {
        return masterOrderNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.clue_no
     *
     * @return the value of contract_master.clue_no
     *
     * @mbg.generated
     */
    public String getClueNo() {
        return clueNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.customer_client_id
     *
     * @return the value of contract_master.customer_client_id
     *
     * @mbg.generated
     */
    public Long getCustomerClientId() {
        return customerClientId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.customer_client_id
     *
     * @param customerClientId the value for contract_master.customer_client_id
     *
     * @mbg.generated
     */
    public void setCustomerClientId(Long customerClientId) {
        this.customerClientId = customerClientId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.customer_name
     *
     * @return the value of contract_master.customer_name
     *
     * @mbg.generated
     */
    public String getCustomerName() {
        return customerName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.customer_tel
     *
     * @return the value of contract_master.customer_tel
     *
     * @mbg.generated
     */
    public String getCustomerTel() {
        return customerTel;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.customer_addr
     *
     * @return the value of contract_master.customer_addr
     *
     * @mbg.generated
     */
    public String getCustomerAddr() {
        return customerAddr;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.first_party_name
     *
     * @return the value of contract_master.first_party_name
     *
     * @mbg.generated
     */
    public String getFirstPartyName() {
        return firstPartyName;
    }

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.agent_contractor
     *
     * @return the value of contract_master.agent_contractor
     *
     * @mbg.generated
     */
    public String getAgentContractor() {
        return agentContractor;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.signing_time
     *
     * @return the value of contract_master.signing_time
     *
     * @mbg.generated
     */
    public LocalDateTime getSigningTime() {
        return signingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.signing_time
     *
     * @param signingTime the value for contract_master.signing_time
     *
     * @mbg.generated
     */
    public void setSigningTime(LocalDateTime signingTime) {
        this.signingTime = signingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_type
     *
     * @return the value of contract_master.contract_type
     *
     * @mbg.generated
     */
    public Integer getContractType() {
        return contractType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_state
     *
     * @return the value of contract_master.contract_state
     *
     * @mbg.generated
     */
    public Integer getContractState() {
        return contractState;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.file_id
     *
     * @return the value of contract_master.file_id
     *
     * @mbg.generated
     */
    public String getFileId() {
        return fileId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.service_type
     *
     * @return the value of contract_master.service_type
     *
     * @mbg.generated
     */
    public Integer getServiceType() {
        return serviceType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.service_model
     *
     * @return the value of contract_master.service_model
     *
     * @mbg.generated
     */
    public Integer getServiceModel() {
        return serviceModel;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.servant_salary
     *
     * @return the value of contract_master.servant_salary
     *
     * @mbg.generated
     */
    public Double getServantSalary() {
        return servantSalary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.servant_salary
     *
     * @param servantSalary the value for contract_master.servant_salary
     *
     * @mbg.generated
     */
    public void setServantSalary(Double servantSalary) {
        this.servantSalary = servantSalary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_amount
     *
     * @return the value of contract_master.contract_amount
     *
     * @mbg.generated
     */
    public Double getContractAmount() {
        return contractAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.contract_amount
     *
     * @param contractAmount the value for contract_master.contract_amount
     *
     * @mbg.generated
     */
    public void setContractAmount(Double contractAmount) {
        this.contractAmount = contractAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.intermediary_cost
     *
     * @return the value of contract_master.intermediary_cost
     *
     * @mbg.generated
     */
    public Double getIntermediaryCost() {
        return intermediaryCost;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.intermediary_cost
     *
     * @param intermediaryCost the value for contract_master.intermediary_cost
     *
     * @mbg.generated
     */
    public void setIntermediaryCost(Double intermediaryCost) {
        this.intermediaryCost = intermediaryCost;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.payable_contract_money
     *
     * @return the value of contract_master.payable_contract_money
     *
     * @mbg.generated
     */
    public Double getPayableContractMoney() {
        return payableContractMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.payable_contract_money
     *
     * @param payableContractMoney the value for contract_master.payable_contract_money
     *
     * @mbg.generated
     */
    public void setPayableContractMoney(Double payableContractMoney) {
        this.payableContractMoney = payableContractMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.payment_money
     *
     * @return the value of contract_master.payment_money
     *
     * @mbg.generated
     */
    public Double getPaymentMoney() {
        return paymentMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.payment_money
     *
     * @param paymentMoney the value for contract_master.payment_money
     *
     * @mbg.generated
     */
    public void setPaymentMoney(Double paymentMoney) {
        this.paymentMoney = paymentMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.obligations_money
     *
     * @return the value of contract_master.obligations_money
     *
     * @mbg.generated
     */
    public Double getObligationsMoney() {
        return obligationsMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.obligations_money
     *
     * @param obligationsMoney the value for contract_master.obligations_money
     *
     * @mbg.generated
     */
    public void setObligationsMoney(Double obligationsMoney) {
        this.obligationsMoney = obligationsMoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.pay_state
     *
     * @return the value of contract_master.pay_state
     *
     * @mbg.generated
     */
    public Integer getPayState() {
        return payState;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.pay_time
     *
     * @return the value of contract_master.pay_time
     *
     * @mbg.generated
     */
    public LocalDateTime getPayTime() {
        return payTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.pay_time
     *
     * @param payTime the value for contract_master.pay_time
     *
     * @mbg.generated
     */
    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_start_date
     *
     * @return the value of contract_master.contract_start_date
     *
     * @mbg.generated
     */
    public LocalDate getContractStartDate() {
        return contractStartDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.contract_start_date
     *
     * @param contractStartDate the value for contract_master.contract_start_date
     *
     * @mbg.generated
     */
    public void setContractStartDate(LocalDate contractStartDate) {
        this.contractStartDate = contractStartDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_end_date
     *
     * @return the value of contract_master.contract_end_date
     *
     * @mbg.generated
     */
    public LocalDate getContractEndDate() {
        return contractEndDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.contract_end_date
     *
     * @param contractEndDate the value for contract_master.contract_end_date
     *
     * @mbg.generated
     */
    public void setContractEndDate(LocalDate contractEndDate) {
        this.contractEndDate = contractEndDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.review_type
     *
     * @return the value of contract_master.review_type
     *
     * @mbg.generated
     */
    public Integer getReviewType() {
        return reviewType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.refund_amount
     *
     * @return the value of contract_master.refund_amount
     *
     * @mbg.generated
     */
    public Double getRefundAmount() {
        return refundAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.refund_amount
     *
     * @param refundAmount the value for contract_master.refund_amount
     *
     * @mbg.generated
     */
    public void setRefundAmount(Double refundAmount) {
        this.refundAmount = refundAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.contract_terminate_date
     *
     * @return the value of contract_master.contract_terminate_date
     *
     * @mbg.generated
     */
    public LocalDate getContractTerminateDate() {
        return contractTerminateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.contract_terminate_date
     *
     * @param contractTerminateDate the value for contract_master.contract_terminate_date
     *
     * @mbg.generated
     */
    public void setContractTerminateDate(LocalDate contractTerminateDate) {
        this.contractTerminateDate = contractTerminateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.cancel_file_id
     *
     * @return the value of contract_master.cancel_file_id
     *
     * @mbg.generated
     */
    public String getCancelFileId() {
        return cancelFileId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.relation_pay_no
     *
     * @return the value of contract_master.relation_pay_no
     *
     * @mbg.generated
     */
    public String getRelationPayNo() {
        return relationPayNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.create_time
     *
     * @return the value of contract_master.create_time
     *
     * @mbg.generated
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.create_time
     *
     * @param createTime the value for contract_master.create_time
     *
     * @mbg.generated
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.create_user_id
     *
     * @return the value of contract_master.create_user_id
     *
     * @mbg.generated
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.create_user_id
     *
     * @param createUserId the value for contract_master.create_user_id
     *
     * @mbg.generated
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.update_time
     *
     * @return the value of contract_master.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 contract_master.update_time
     *
     * @param updateTime the value for contract_master.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column contract_master.update_user_id
     *
     * @return the value of contract_master.update_user_id
     *
     * @mbg.generated
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column contract_master.update_user_id
     *
     * @param updateUserId the value for contract_master.update_user_id
     *
     * @mbg.generated
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @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(", masterContractNo=").append(masterContractNo);
        sb.append(", masterOrderNo=").append(masterOrderNo);
        sb.append(", clueNo=").append(clueNo);
        sb.append(", customerClientId=").append(customerClientId);
        sb.append(", customerName=").append(customerName);
        sb.append(", customerTel=").append(customerTel);
        sb.append(", customerAddr=").append(customerAddr);
        sb.append(", firstPartyName=").append(firstPartyName);
        sb.append(", signer=").append(signer);
        sb.append(", agentContractor=").append(agentContractor);
        sb.append(", signingTime=").append(signingTime);
        sb.append(", contractType=").append(contractType);
        sb.append(", contractState=").append(contractState);
        sb.append(", fileId=").append(fileId);
        sb.append(", serviceType=").append(serviceType);
        sb.append(", serviceModel=").append(serviceModel);
        sb.append(", servantSalary=").append(servantSalary);
        sb.append(", contractAmount=").append(contractAmount);
        sb.append(", intermediaryCost=").append(intermediaryCost);
        sb.append(", payableContractMoney=").append(payableContractMoney);
        sb.append(", paymentMoney=").append(paymentMoney);
        sb.append(", obligationsMoney=").append(obligationsMoney);
        sb.append(", payState=").append(payState);
        sb.append(", payTime=").append(payTime);
        sb.append(", contractStartDate=").append(contractStartDate);
        sb.append(", contractEndDate=").append(contractEndDate);
        sb.append(", reviewType=").append(reviewType);
        sb.append(", refundAmount=").append(refundAmount);
        sb.append(", contractTerminateDate=").append(contractTerminateDate);
        sb.append(", cancelFileId=").append(cancelFileId);
        sb.append(", relationPayNo=").append(relationPayNo);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ContractMaster other = (ContractMaster) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMasterContractNo() == null ? other.getMasterContractNo() == null : this.getMasterContractNo().equals(other.getMasterContractNo()))
            && (this.getMasterOrderNo() == null ? other.getMasterOrderNo() == null : this.getMasterOrderNo().equals(other.getMasterOrderNo()))
            && (this.getClueNo() == null ? other.getClueNo() == null : this.getClueNo().equals(other.getClueNo()))
            && (this.getCustomerClientId() == null ? other.getCustomerClientId() == null : this.getCustomerClientId().equals(other.getCustomerClientId()))
            && (this.getCustomerName() == null ? other.getCustomerName() == null : this.getCustomerName().equals(other.getCustomerName()))
            && (this.getCustomerTel() == null ? other.getCustomerTel() == null : this.getCustomerTel().equals(other.getCustomerTel()))
            && (this.getCustomerAddr() == null ? other.getCustomerAddr() == null : this.getCustomerAddr().equals(other.getCustomerAddr()))
            && (this.getFirstPartyName() == null ? other.getFirstPartyName() == null : this.getFirstPartyName().equals(other.getFirstPartyName()))
            && (this.getSigner() == null ? other.getSigner() == null : this.getSigner().equals(other.getSigner()))
            && (this.getAgentContractor() == null ? other.getAgentContractor() == null : this.getAgentContractor().equals(other.getAgentContractor()))
            && (this.getSigningTime() == null ? other.getSigningTime() == null : this.getSigningTime().equals(other.getSigningTime()))
            && (this.getContractType() == null ? other.getContractType() == null : this.getContractType().equals(other.getContractType()))
            && (this.getContractState() == null ? other.getContractState() == null : this.getContractState().equals(other.getContractState()))
            && (this.getFileId() == null ? other.getFileId() == null : this.getFileId().equals(other.getFileId()))
            && (this.getServiceType() == null ? other.getServiceType() == null : this.getServiceType().equals(other.getServiceType()))
            && (this.getServiceModel() == null ? other.getServiceModel() == null : this.getServiceModel().equals(other.getServiceModel()))
            && (this.getServantSalary() == null ? other.getServantSalary() == null : this.getServantSalary().equals(other.getServantSalary()))
            && (this.getContractAmount() == null ? other.getContractAmount() == null : this.getContractAmount().equals(other.getContractAmount()))
            && (this.getIntermediaryCost() == null ? other.getIntermediaryCost() == null : this.getIntermediaryCost().equals(other.getIntermediaryCost()))
            && (this.getPayableContractMoney() == null ? other.getPayableContractMoney() == null : this.getPayableContractMoney().equals(other.getPayableContractMoney()))
            && (this.getPaymentMoney() == null ? other.getPaymentMoney() == null : this.getPaymentMoney().equals(other.getPaymentMoney()))
            && (this.getObligationsMoney() == null ? other.getObligationsMoney() == null : this.getObligationsMoney().equals(other.getObligationsMoney()))
            && (this.getPayState() == null ? other.getPayState() == null : this.getPayState().equals(other.getPayState()))
            && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
            && (this.getContractStartDate() == null ? other.getContractStartDate() == null : this.getContractStartDate().equals(other.getContractStartDate()))
            && (this.getContractEndDate() == null ? other.getContractEndDate() == null : this.getContractEndDate().equals(other.getContractEndDate()))
            && (this.getReviewType() == null ? other.getReviewType() == null : this.getReviewType().equals(other.getReviewType()))
            && (this.getRefundAmount() == null ? other.getRefundAmount() == null : this.getRefundAmount().equals(other.getRefundAmount()))
            && (this.getContractTerminateDate() == null ? other.getContractTerminateDate() == null : this.getContractTerminateDate().equals(other.getContractTerminateDate()))
            && (this.getCancelFileId() == null ? other.getCancelFileId() == null : this.getCancelFileId().equals(other.getCancelFileId()))
            && (this.getRelationPayNo() == null ? other.getRelationPayNo() == null : this.getRelationPayNo().equals(other.getRelationPayNo()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getCreateUserId() == null ? other.getCreateUserId() == null : this.getCreateUserId().equals(other.getCreateUserId()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getUpdateUserId() == null ? other.getUpdateUserId() == null : this.getUpdateUserId().equals(other.getUpdateUserId()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMasterContractNo() == null) ? 0 : getMasterContractNo().hashCode());
        result = prime * result + ((getMasterOrderNo() == null) ? 0 : getMasterOrderNo().hashCode());
        result = prime * result + ((getClueNo() == null) ? 0 : getClueNo().hashCode());
        result = prime * result + ((getCustomerClientId() == null) ? 0 : getCustomerClientId().hashCode());
        result = prime * result + ((getCustomerName() == null) ? 0 : getCustomerName().hashCode());
        result = prime * result + ((getCustomerTel() == null) ? 0 : getCustomerTel().hashCode());
        result = prime * result + ((getCustomerAddr() == null) ? 0 : getCustomerAddr().hashCode());
        result = prime * result + ((getFirstPartyName() == null) ? 0 : getFirstPartyName().hashCode());
        result = prime * result + ((getSigner() == null) ? 0 : getSigner().hashCode());
        result = prime * result + ((getAgentContractor() == null) ? 0 : getAgentContractor().hashCode());
        result = prime * result + ((getSigningTime() == null) ? 0 : getSigningTime().hashCode());
        result = prime * result + ((getContractType() == null) ? 0 : getContractType().hashCode());
        result = prime * result + ((getContractState() == null) ? 0 : getContractState().hashCode());
        result = prime * result + ((getFileId() == null) ? 0 : getFileId().hashCode());
        result = prime * result + ((getServiceType() == null) ? 0 : getServiceType().hashCode());
        result = prime * result + ((getServiceModel() == null) ? 0 : getServiceModel().hashCode());
        result = prime * result + ((getServantSalary() == null) ? 0 : getServantSalary().hashCode());
        result = prime * result + ((getContractAmount() == null) ? 0 : getContractAmount().hashCode());
        result = prime * result + ((getIntermediaryCost() == null) ? 0 : getIntermediaryCost().hashCode());
        result = prime * result + ((getPayableContractMoney() == null) ? 0 : getPayableContractMoney().hashCode());
        result = prime * result + ((getPaymentMoney() == null) ? 0 : getPaymentMoney().hashCode());
        result = prime * result + ((getObligationsMoney() == null) ? 0 : getObligationsMoney().hashCode());
        result = prime * result + ((getPayState() == null) ? 0 : getPayState().hashCode());
        result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
        result = prime * result + ((getContractStartDate() == null) ? 0 : getContractStartDate().hashCode());
        result = prime * result + ((getContractEndDate() == null) ? 0 : getContractEndDate().hashCode());
        result = prime * result + ((getReviewType() == null) ? 0 : getReviewType().hashCode());
        result = prime * result + ((getRefundAmount() == null) ? 0 : getRefundAmount().hashCode());
        result = prime * result + ((getContractTerminateDate() == null) ? 0 : getContractTerminateDate().hashCode());
        result = prime * result + ((getCancelFileId() == null) ? 0 : getCancelFileId().hashCode());
        result = prime * result + ((getRelationPayNo() == null) ? 0 : getRelationPayNo().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getCreateUserId() == null) ? 0 : getCreateUserId().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getUpdateUserId() == null) ? 0 : getUpdateUserId().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "BIGINT", false),
        masterContractNo("master_contract_no", "masterContractNo", "VARCHAR", false),
        masterOrderNo("master_order_no", "masterOrderNo", "VARCHAR", false),
        clueNo("clue_no", "clueNo", "VARCHAR", false),
        customerClientId("customer_client_id", "customerClientId", "BIGINT", false),
        customerName("customer_name", "customerName", "VARCHAR", false),
        customerTel("customer_tel", "customerTel", "VARCHAR", false),
        customerAddr("customer_addr", "customerAddr", "VARCHAR", false),
        firstPartyName("first_party_name", "firstPartyName", "VARCHAR", false),
        signer("signer", "signer", "VARCHAR", false),
        agentContractor("agent_contractor", "agentContractor", "VARCHAR", false),
        signingTime("signing_time", "signingTime", "TIMESTAMP", false),
        contractType("contract_type", "contractType", "INTEGER", false),
        contractState("contract_state", "contractState", "INTEGER", false),
        fileId("file_id", "fileId", "VARCHAR", false),
        serviceType("service_type", "serviceType", "INTEGER", false),
        serviceModel("service_model", "serviceModel", "INTEGER", false),
        servantSalary("servant_salary", "servantSalary", "DOUBLE", false),
        contractAmount("contract_amount", "contractAmount", "DOUBLE", false),
        intermediaryCost("intermediary_cost", "intermediaryCost", "DOUBLE", false),
        payableContractMoney("payable_contract_money", "payableContractMoney", "DOUBLE", false),
        paymentMoney("payment_money", "paymentMoney", "DOUBLE", false),
        obligationsMoney("obligations_money", "obligationsMoney", "DOUBLE", false),
        payState("pay_state", "payState", "INTEGER", false),
        payTime("pay_time", "payTime", "TIMESTAMP", false),
        contractStartDate("contract_start_date", "contractStartDate", "DATE", false),
        contractEndDate("contract_end_date", "contractEndDate", "DATE", false),
        reviewType("review_type", "reviewType", "INTEGER", false),
        refundAmount("refund_amount", "refundAmount", "DOUBLE", false),
        contractTerminateDate("contract_terminate_date", "contractTerminateDate", "DATE", false),
        cancelFileId("cancel_file_id", "cancelFileId", "VARCHAR", false),
        relationPayNo("relation_pay_no", "relationPayNo", "VARCHAR", false),
        createTime("create_time", "createTime", "TIMESTAMP", false),
        createUserId("create_user_id", "createUserId", "BIGINT", false),
        updateTime("update_time", "updateTime", "TIMESTAMP", false),
        updateUserId("update_user_id", "updateUserId", "BIGINT", false),
        remark("remark", "remark", "VARCHAR", false);

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

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

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

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

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

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

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

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

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

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

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @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 contract_master
         *
         * @mbg.generated
         */
        public static Column[] all() {
            return Column.values();
        }

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