1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Auction
</base>
6 <comment>stores item information for an auction
</comment>
7 <name>civicrm_auction_item
</name>
11 <type>int unsigned
</type>
12 <required>true
</required>
17 <autoincrement>true
</autoincrement>
20 <name>auction_id
</name>
21 <type>int unsigned
</type>
22 <required>true
</required>
23 <comment>FK to civicrm_auction for this item
</comment>
27 <name>auction_id
</name>
28 <table>civicrm_auction
</table>
31 <onDelete>CASCADE
</onDelete>
35 <type>int unsigned
</type>
36 <required>true
</required>
37 <comment>FK to civicrm_contact, who donated this item
</comment>
42 <table>civicrm_contact
</table>
45 <onDelete>CASCADE
</onDelete>
48 <name>auction_item_type_id
</name>
49 <type>int unsigned
</type>
50 <title>Auction Item Type ID
</title>
52 <comment>Auction Type ID.Implicit FK to civicrm_option_value where option_group = auction_item_type.
</comment>
56 <name>index_auction_item_type_id
</name>
57 <fieldName>auction_item_type_id
</fieldName>
61 <name>auction_item_category_id
</name>
62 <type>int unsigned
</type>
63 <title>Auction Item Category ID
</title>
65 <comment>Auction Category ID.Implicit FK to civicrm_option_value where option_group = auction_item_.
</comment>
69 <name>index_auction_item_category_id
</name>
70 <fieldName>auction_item_category_id
</fieldName>
75 <title>Item Name
</title>
78 <required>true
</required>
80 <localizable>true
</localizable>
81 <comment>Required item title
</comment>
85 <name>description
</name>
86 <title>Description
</title>
88 <localizable>true
</localizable>
89 <comment>Optional description of the product/premium.
</comment>
94 <title>Special Note
</title>
96 <localizable>true
</localizable>
97 <comment>Optional specific instructions / restrictions regarding this item.
</comment>
101 <name>lot_number
</name>
102 <title>Lot Number
</title>
105 <export>true
</export>
106 <comment>lot numbers associated with this item. could be a range. automatically computed.
</comment>
113 <import>true
</import>
114 <comment>optional URL of website to associate with item.
</comment>
122 <export>true
</export>
123 <comment>Optional product sku or code.
</comment>
128 <title>Options
</title>
130 <localizable>true
</localizable>
131 <comment>Store comma-delimited list of color, size, etc. options for the product.
</comment>
139 <comment>Full or relative URL to uploaded image - fullsize.
</comment>
143 <name>quantity
</name>
144 <title>Quantity
</title>
145 <type>int unsigned
</type>
146 <comment>Number of Units availaible.
</comment>
150 <name>retail_value
</name>
153 <comment>Retail value of item.
</comment>
157 <name>min_bid_value
</name>
158 <title>Minimum Bid
</title>
160 <comment>Minimum bid allowed for this item.
</comment>
164 <name>min_bid_increment
</name>
165 <title>Minimum Bid Increment
</title>
167 <comment>Minimum bid increment allowed for this item.
</comment>
171 <name>buy_now_value
</name>
172 <title>Buy Now Value
</title>
174 <comment>The amount that the item can be bought for immediately
</comment>
178 <name>bid_start_date
</name>
179 <type>datetime
</type>
180 <title>Bid Start Date
</title>
181 <comment>Date and time bidding starts.
</comment>
185 <name>bid_end_date
</name>
186 <type>datetime
</type>
187 <title>Bid End Date
</title>
188 <comment>Date and time bidding ends.
</comment>
192 <name>is_active
</name>
195 <required>true
</required>
196 <comment>Is this item active/approved and available
</comment>
200 <name>is_group
</name>
203 <comment>Does this item group other items?
</comment>
207 <name>parent_id
</name>
208 <type>int unsigned
</type>
209 <comment>FK to civicrm_auction_item, if this item is part of an item group
</comment>
213 <name>parent_id
</name>
214 <table>civicrm_auction_item
</table>
217 <onDelete>SET NULL
</onDelete>
220 <name>creator_id
</name>
221 <type>int unsigned
</type>
222 <comment>FK to civicrm_contact, who created this item
</comment>
226 <name>creator_id
</name>
227 <table>civicrm_contact
</table>
230 <onDelete>SET NULL
</onDelete>
233 <name>created_date
</name>
234 <type>datetime
</type>
235 <comment>Date and time when item was created.
</comment>
239 <name>approver_id
</name>
240 <type>int unsigned
</type>
241 <comment>FK to civicrm_contact, who approvedthis item
</comment>
245 <name>approver_id
</name>
246 <table>civicrm_contact
</table>
249 <onDelete>SET NULL
</onDelete>
252 <name>approval_date
</name>
253 <type>datetime
</type>
254 <uniqueName>approval_date
</uniqueName>
255 <comment>Date and time the item was approved.
</comment>