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