001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.club.common.transfer; 018 019import com.echothree.model.control.item.common.transfer.ItemTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ClubItemTransfer 023 extends BaseTransfer { 024 025 private ClubTransfer club; 026 private ClubItemTypeTransfer clubItemType; 027 private ItemTransfer item; 028 private Long unformattedSubscriptionTime; 029 private String subscriptionTime; 030 031 /** Creates a new instance of ClubItemTransfer */ 032 public ClubItemTransfer(ClubTransfer club, ClubItemTypeTransfer clubItemType, ItemTransfer item, Long unformattedSubscriptionTime, 033 String subscriptionTime) { 034 this.club = club; 035 this.clubItemType = clubItemType; 036 this.item = item; 037 this.unformattedSubscriptionTime = unformattedSubscriptionTime; 038 this.subscriptionTime = subscriptionTime; 039 } 040 041 /** 042 * Returns the club. 043 * @return the club 044 */ 045 public ClubTransfer getClub() { 046 return club; 047 } 048 049 /** 050 * Sets the club. 051 * @param club the club to set 052 */ 053 public void setClub(ClubTransfer club) { 054 this.club = club; 055 } 056 057 /** 058 * Returns the clubItemType. 059 * @return the clubItemType 060 */ 061 public ClubItemTypeTransfer getClubItemType() { 062 return clubItemType; 063 } 064 065 /** 066 * Sets the clubItemType. 067 * @param clubItemType the clubItemType to set 068 */ 069 public void setClubItemType(ClubItemTypeTransfer clubItemType) { 070 this.clubItemType = clubItemType; 071 } 072 073 /** 074 * Returns the item. 075 * @return the item 076 */ 077 public ItemTransfer getItem() { 078 return item; 079 } 080 081 /** 082 * Sets the item. 083 * @param item the item to set 084 */ 085 public void setItem(ItemTransfer item) { 086 this.item = item; 087 } 088 089 /** 090 * Returns the unformattedSubscriptionTime. 091 * @return the unformattedSubscriptionTime 092 */ 093 public Long getUnformattedSubscriptionTime() { 094 return unformattedSubscriptionTime; 095 } 096 097 /** 098 * Sets the unformattedSubscriptionTime. 099 * @param unformattedSubscriptionTime the unformattedSubscriptionTime to set 100 */ 101 public void setUnformattedSubscriptionTime(Long unformattedSubscriptionTime) { 102 this.unformattedSubscriptionTime = unformattedSubscriptionTime; 103 } 104 105 /** 106 * Returns the subscriptionTime. 107 * @return the subscriptionTime 108 */ 109 public String getSubscriptionTime() { 110 return subscriptionTime; 111 } 112 113 /** 114 * Sets the subscriptionTime. 115 * @param subscriptionTime the subscriptionTime to set 116 */ 117 public void setSubscriptionTime(String subscriptionTime) { 118 this.subscriptionTime = subscriptionTime; 119 } 120 121}