001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.payment;
005
006
007import com.echothree.model.data.payment.common.pk.PaymentCheckPK;
008import com.echothree.model.data.payment.common.pk.PaymentPK;
009
010import org.jooq.Record1;
011import org.jooq.impl.UpdatableRecordImpl;
012
013
014/**
015 * This class is generated by jOOQ.
016 */
017@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
018public class PaymentChecks extends UpdatableRecordImpl<PaymentChecks> {
019
020    private static final long serialVersionUID = 1L;
021
022    /**
023     * Setter for <code>paymentchecks.pymtchck_paymentcheckid</code>.
024     */
025    public void PaymentCheck(PaymentCheckPK value) {
026        set(0, value);
027    }
028
029    /**
030     * Getter for <code>paymentchecks.pymtchck_paymentcheckid</code>.
031     */
032    public PaymentCheckPK PaymentCheck() {
033        return (PaymentCheckPK) get(0);
034    }
035
036    /**
037     * Setter for <code>paymentchecks.pymtchck_pymt_paymentid</code>.
038     */
039    public void Payment(PaymentPK value) {
040        set(1, value);
041    }
042
043    /**
044     * Getter for <code>paymentchecks.pymtchck_pymt_paymentid</code>.
045     */
046    public PaymentPK Payment() {
047        return (PaymentPK) get(1);
048    }
049
050    /**
051     * Setter for <code>paymentchecks.pymtchck_reference</code>.
052     */
053    public void Reference(String value) {
054        set(2, value);
055    }
056
057    /**
058     * Getter for <code>paymentchecks.pymtchck_reference</code>.
059     */
060    public String Reference() {
061        return (String) get(2);
062    }
063
064    /**
065     * Setter for <code>paymentchecks.pymtchck_fromtime</code>.
066     */
067    public void FromTime(Long value) {
068        set(3, value);
069    }
070
071    /**
072     * Getter for <code>paymentchecks.pymtchck_fromtime</code>.
073     */
074    public Long FromTime() {
075        return (Long) get(3);
076    }
077
078    /**
079     * Setter for <code>paymentchecks.pymtchck_thrutime</code>.
080     */
081    public void ThruTime(Long value) {
082        set(4, value);
083    }
084
085    /**
086     * Getter for <code>paymentchecks.pymtchck_thrutime</code>.
087     */
088    public Long ThruTime() {
089        return (Long) get(4);
090    }
091
092    // -------------------------------------------------------------------------
093    // Primary key information
094    // -------------------------------------------------------------------------
095
096    @Override
097    public Record1<PaymentCheckPK> key() {
098        return (Record1) super.key();
099    }
100
101    // -------------------------------------------------------------------------
102    // Constructors
103    // -------------------------------------------------------------------------
104
105    /**
106     * Create a detached PaymentChecks
107     */
108    public PaymentChecks() {
109        super(com.echothree.model.jooq.server.tables.payment.PaymentChecks.PaymentChecks);
110    }
111
112    /**
113     * Create a detached, initialised PaymentChecks
114     */
115    public PaymentChecks(PaymentCheckPK PaymentCheck, PaymentPK Payment, String Reference, Long FromTime, Long ThruTime) {
116        super(com.echothree.model.jooq.server.tables.payment.PaymentChecks.PaymentChecks);
117
118        PaymentCheck(PaymentCheck);
119        Payment(Payment);
120        Reference(Reference);
121        FromTime(FromTime);
122        ThruTime(ThruTime);
123        resetTouchedOnNotNull();
124    }
125}