001/* 002 * This file is generated by jOOQ. 003 */ 004package com.echothree.model.jooq.server.records.sales; 005 006 007import com.echothree.model.data.batch.common.pk.BatchPK; 008import com.echothree.model.data.payment.common.pk.PaymentMethodPK; 009import com.echothree.model.data.sales.common.pk.SalesOrderBatchPK; 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 SalesOrderBatches extends UpdatableRecordImpl<SalesOrderBatches> { 020 021 private static final long serialVersionUID = 1L; 022 023 /** 024 * Setter for <code>salesorderbatches.salordbtch_salesorderbatchid</code>. 025 */ 026 public void SalesOrderBatch(SalesOrderBatchPK value) { 027 set(0, value); 028 } 029 030 /** 031 * Getter for <code>salesorderbatches.salordbtch_salesorderbatchid</code>. 032 */ 033 public SalesOrderBatchPK SalesOrderBatch() { 034 return (SalesOrderBatchPK) get(0); 035 } 036 037 /** 038 * Setter for <code>salesorderbatches.salordbtch_btch_batchid</code>. 039 */ 040 public void Batch(BatchPK value) { 041 set(1, value); 042 } 043 044 /** 045 * Getter for <code>salesorderbatches.salordbtch_btch_batchid</code>. 046 */ 047 public BatchPK Batch() { 048 return (BatchPK) get(1); 049 } 050 051 /** 052 * Setter for <code>salesorderbatches.salordbtch_pm_paymentmethodid</code>. 053 */ 054 public void PaymentMethod(PaymentMethodPK value) { 055 set(2, value); 056 } 057 058 /** 059 * Getter for <code>salesorderbatches.salordbtch_pm_paymentmethodid</code>. 060 */ 061 public PaymentMethodPK PaymentMethod() { 062 return (PaymentMethodPK) get(2); 063 } 064 065 /** 066 * Setter for <code>salesorderbatches.salordbtch_fromtime</code>. 067 */ 068 public void FromTime(Long value) { 069 set(3, value); 070 } 071 072 /** 073 * Getter for <code>salesorderbatches.salordbtch_fromtime</code>. 074 */ 075 public Long FromTime() { 076 return (Long) get(3); 077 } 078 079 /** 080 * Setter for <code>salesorderbatches.salordbtch_thrutime</code>. 081 */ 082 public void ThruTime(Long value) { 083 set(4, value); 084 } 085 086 /** 087 * Getter for <code>salesorderbatches.salordbtch_thrutime</code>. 088 */ 089 public Long ThruTime() { 090 return (Long) get(4); 091 } 092 093 // ------------------------------------------------------------------------- 094 // Primary key information 095 // ------------------------------------------------------------------------- 096 097 @Override 098 public Record1<SalesOrderBatchPK> key() { 099 return (Record1) super.key(); 100 } 101 102 // ------------------------------------------------------------------------- 103 // Constructors 104 // ------------------------------------------------------------------------- 105 106 /** 107 * Create a detached SalesOrderBatches 108 */ 109 public SalesOrderBatches() { 110 super(com.echothree.model.jooq.server.tables.sales.SalesOrderBatches.SalesOrderBatches); 111 } 112 113 /** 114 * Create a detached, initialised SalesOrderBatches 115 */ 116 public SalesOrderBatches(SalesOrderBatchPK SalesOrderBatch, BatchPK Batch, PaymentMethodPK PaymentMethod, Long FromTime, Long ThruTime) { 117 super(com.echothree.model.jooq.server.tables.sales.SalesOrderBatches.SalesOrderBatches); 118 119 SalesOrderBatch(SalesOrderBatch); 120 Batch(Batch); 121 PaymentMethod(PaymentMethod); 122 FromTime(FromTime); 123 ThruTime(ThruTime); 124 resetTouchedOnNotNull(); 125 } 126}