001/*
002 * This file is generated by jOOQ.
003 */
004package com.echothree.model.jooq.server.records.item;
005
006
007import com.echothree.model.data.customer.common.pk.CustomerTypePK;
008import com.echothree.model.data.item.common.pk.ItemPK;
009import com.echothree.model.data.item.common.pk.ItemShippingTimePK;
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 ItemShippingTimes extends UpdatableRecordImpl<ItemShippingTimes> {
020
021    private static final long serialVersionUID = 1L;
022
023    /**
024     * Setter for <code>itemshippingtimes.istim_itemshippingtimeid</code>.
025     */
026    public void ItemShippingTime(ItemShippingTimePK value) {
027        set(0, value);
028    }
029
030    /**
031     * Getter for <code>itemshippingtimes.istim_itemshippingtimeid</code>.
032     */
033    public ItemShippingTimePK ItemShippingTime() {
034        return (ItemShippingTimePK) get(0);
035    }
036
037    /**
038     * Setter for <code>itemshippingtimes.istim_itm_itemid</code>.
039     */
040    public void Item(ItemPK value) {
041        set(1, value);
042    }
043
044    /**
045     * Getter for <code>itemshippingtimes.istim_itm_itemid</code>.
046     */
047    public ItemPK Item() {
048        return (ItemPK) get(1);
049    }
050
051    /**
052     * Setter for <code>itemshippingtimes.istim_cuty_customertypeid</code>.
053     */
054    public void CustomerType(CustomerTypePK value) {
055        set(2, value);
056    }
057
058    /**
059     * Getter for <code>itemshippingtimes.istim_cuty_customertypeid</code>.
060     */
061    public CustomerTypePK CustomerType() {
062        return (CustomerTypePK) get(2);
063    }
064
065    /**
066     * Setter for <code>itemshippingtimes.istim_shippingstarttime</code>.
067     */
068    public void ShippingStartTime(Long value) {
069        set(3, value);
070    }
071
072    /**
073     * Getter for <code>itemshippingtimes.istim_shippingstarttime</code>.
074     */
075    public Long ShippingStartTime() {
076        return (Long) get(3);
077    }
078
079    /**
080     * Setter for <code>itemshippingtimes.istim_shippingendtime</code>.
081     */
082    public void ShippingEndTime(Long value) {
083        set(4, value);
084    }
085
086    /**
087     * Getter for <code>itemshippingtimes.istim_shippingendtime</code>.
088     */
089    public Long ShippingEndTime() {
090        return (Long) get(4);
091    }
092
093    /**
094     * Setter for <code>itemshippingtimes.istim_fromtime</code>.
095     */
096    public void FromTime(Long value) {
097        set(5, value);
098    }
099
100    /**
101     * Getter for <code>itemshippingtimes.istim_fromtime</code>.
102     */
103    public Long FromTime() {
104        return (Long) get(5);
105    }
106
107    /**
108     * Setter for <code>itemshippingtimes.istim_thrutime</code>.
109     */
110    public void ThruTime(Long value) {
111        set(6, value);
112    }
113
114    /**
115     * Getter for <code>itemshippingtimes.istim_thrutime</code>.
116     */
117    public Long ThruTime() {
118        return (Long) get(6);
119    }
120
121    // -------------------------------------------------------------------------
122    // Primary key information
123    // -------------------------------------------------------------------------
124
125    @Override
126    public Record1<ItemShippingTimePK> key() {
127        return (Record1) super.key();
128    }
129
130    // -------------------------------------------------------------------------
131    // Constructors
132    // -------------------------------------------------------------------------
133
134    /**
135     * Create a detached ItemShippingTimes
136     */
137    public ItemShippingTimes() {
138        super(com.echothree.model.jooq.server.tables.item.ItemShippingTimes.ItemShippingTimes);
139    }
140
141    /**
142     * Create a detached, initialised ItemShippingTimes
143     */
144    public ItemShippingTimes(ItemShippingTimePK ItemShippingTime, ItemPK Item, CustomerTypePK CustomerType, Long ShippingStartTime, Long ShippingEndTime, Long FromTime, Long ThruTime) {
145        super(com.echothree.model.jooq.server.tables.item.ItemShippingTimes.ItemShippingTimes);
146
147        ItemShippingTime(ItemShippingTime);
148        Item(Item);
149        CustomerType(CustomerType);
150        ShippingStartTime(ShippingStartTime);
151        ShippingEndTime(ShippingEndTime);
152        FromTime(FromTime);
153        ThruTime(ThruTime);
154        resetTouchedOnNotNull();
155    }
156}