1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceFieldValue
</class>
6 <name>civicrm_price_field_value
</name>
10 <type>int unsigned
</type>
11 <required>true
</required>
12 <comment>Price Field Value
</comment>
17 <autoincrement>true
</autoincrement>
20 <name>price_field_id
</name>
21 <type>int unsigned
</type>
22 <required>true
</required>
23 <comment>FK to civicrm_price_field
</comment>
27 <name>price_field_id
</name>
28 <table>civicrm_price_field
</table>
37 <comment>Price field option name
</comment>
45 <localizable>true
</localizable>
46 <comment>Price field option label
</comment>
50 <name>description
</name>
52 <htmlType>textarea
</htmlType>
53 <default>NULL
</default>
56 <localizable>true
</localizable>
57 <comment>>Price field option description.
</comment>
66 <required>true
</required>
67 <comment>Price field option amount
</comment>
72 <type>int unsigned
</type>
73 <default>NULL
</default>
74 <comment>Number of participants per field option
</comment>
78 <name>max_value
</name>
79 <type>int unsigned
</type>
80 <default>NULL
</default>
81 <comment>Max number of participants per field options
</comment>
88 <comment>Order in which the field options should appear
</comment>
92 <name>membership_type_id
</name>
93 <type>int unsigned
</type>
94 <default>NULL
</default>
95 <comment>FK to Membership Type
</comment>
99 <name>membership_type_id
</name>
100 <table>civicrm_membership_type
</table>
103 <onDelete>SET NULL
</onDelete>
106 <name>membership_num_terms
</name>
107 <type>int unsigned
</type>
108 <default>NULL
</default>
109 <comment>Number of terms for this membership
</comment>
113 <name>is_default
</name>
115 <comment>Is this default price field option
</comment>
120 <name>is_active
</name>
122 <comment>Is this price field value active
</comment>
127 <name>financial_type_id
</name>
128 <title>Financial Type
</title>
129 <type>int unsigned
</type>
130 <default>NULL
</default>
131 <comment>FK to Financial Type.
</comment>
135 <name>financial_type_id
</name>
136 <table>civicrm_financial_type
</table>
138 <onDelete>SET NULL
</onDelete>
142 <name>deductible_amount
</name>
143 <title>Deductible Amount
</title>
145 <default>0.0</default>
146 <headerPattern>/unit?.?amoun/i
</headerPattern>
147 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
148 <required>true
</required>
149 <comment>Tax-deductible portion of the amount
</comment>