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.PaymentMethodCheckPK; 008import com.echothree.model.data.payment.common.pk.PaymentMethodPK; 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 PaymentMethodChecks extends UpdatableRecordImpl<PaymentMethodChecks> { 019 020 private static final long serialVersionUID = 1L; 021 022 /** 023 * Setter for <code>paymentmethodchecks.pmchk_paymentmethodcheckid</code>. 024 */ 025 public void PaymentMethodCheck(PaymentMethodCheckPK value) { 026 set(0, value); 027 } 028 029 /** 030 * Getter for <code>paymentmethodchecks.pmchk_paymentmethodcheckid</code>. 031 */ 032 public PaymentMethodCheckPK PaymentMethodCheck() { 033 return (PaymentMethodCheckPK) get(0); 034 } 035 036 /** 037 * Setter for <code>paymentmethodchecks.pmchk_pm_paymentmethodid</code>. 038 */ 039 public void PaymentMethod(PaymentMethodPK value) { 040 set(1, value); 041 } 042 043 /** 044 * Getter for <code>paymentmethodchecks.pmchk_pm_paymentmethodid</code>. 045 */ 046 public PaymentMethodPK PaymentMethod() { 047 return (PaymentMethodPK) get(1); 048 } 049 050 /** 051 * Setter for <code>paymentmethodchecks.pmchk_holddays</code>. 052 */ 053 public void HoldDays(Integer value) { 054 set(2, value); 055 } 056 057 /** 058 * Getter for <code>paymentmethodchecks.pmchk_holddays</code>. 059 */ 060 public Integer HoldDays() { 061 return (Integer) get(2); 062 } 063 064 /** 065 * Setter for <code>paymentmethodchecks.pmchk_fromtime</code>. 066 */ 067 public void FromTime(Long value) { 068 set(3, value); 069 } 070 071 /** 072 * Getter for <code>paymentmethodchecks.pmchk_fromtime</code>. 073 */ 074 public Long FromTime() { 075 return (Long) get(3); 076 } 077 078 /** 079 * Setter for <code>paymentmethodchecks.pmchk_thrutime</code>. 080 */ 081 public void ThruTime(Long value) { 082 set(4, value); 083 } 084 085 /** 086 * Getter for <code>paymentmethodchecks.pmchk_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<PaymentMethodCheckPK> key() { 098 return (Record1) super.key(); 099 } 100 101 // ------------------------------------------------------------------------- 102 // Constructors 103 // ------------------------------------------------------------------------- 104 105 /** 106 * Create a detached PaymentMethodChecks 107 */ 108 public PaymentMethodChecks() { 109 super(com.echothree.model.jooq.server.tables.payment.PaymentMethodChecks.PaymentMethodChecks); 110 } 111 112 /** 113 * Create a detached, initialised PaymentMethodChecks 114 */ 115 public PaymentMethodChecks(PaymentMethodCheckPK PaymentMethodCheck, PaymentMethodPK PaymentMethod, Integer HoldDays, Long FromTime, Long ThruTime) { 116 super(com.echothree.model.jooq.server.tables.payment.PaymentMethodChecks.PaymentMethodChecks); 117 118 PaymentMethodCheck(PaymentMethodCheck); 119 PaymentMethod(PaymentMethod); 120 HoldDays(HoldDays); 121 FromTime(FromTime); 122 ThruTime(ThruTime); 123 resetTouchedOnNotNull(); 124 } 125}