|
1 /* |
|
2 * Copyright 2012 Tomas Zeman <tzeman@volny.cz> |
|
3 * |
|
4 * Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 * you may not use this file except in compliance with the License. |
|
6 * You may obtain a copy of the License at |
|
7 * |
|
8 * http://www.apache.org/licenses/LICENSE-2.0 |
|
9 * |
|
10 * Unless required by applicable law or agreed to in writing, software |
|
11 * distributed under the License is distributed on an "AS IS" BASIS, |
|
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 * See the License for the specific language governing permissions and |
|
14 * limitations under the License. |
|
15 */ |
|
16 package fis.sr.model |
|
17 |
|
18 import fis.aaa.model._ |
|
19 import fis.base.model.Payment |
|
20 import fis.cl.model._ |
|
21 import fis.crm.model._ |
|
22 import java.math.MathContext |
|
23 import net.liftweb.common._ |
|
24 import net.liftweb.record.{MetaRecord, Record} |
|
25 import net.liftweb.record.field._ |
|
26 import net.tz.lift.model._ |
|
27 import net.tz.lift.model.{FieldLabel => FL} |
|
28 import org.squeryl.annotations.Column |
|
29 import net.liftweb.squerylrecord.KeyedRecord |
|
30 |
|
31 class ServicePayment private() extends Record[ServicePayment] with |
|
32 KeyedRecord[Long] with Payment[ServicePayment] { |
|
33 |
|
34 @Column(name="id") |
|
35 val idField = new LongField(this) |
|
36 |
|
37 def meta = ServicePayment |
|
38 |
|
39 val service = new LongField(this) |
|
40 } |
|
41 |
|
42 object ServicePayment extends ServicePayment with MetaRecord[ServicePayment] |
|
43 |
|
44 // vim: set ts=2 sw=2 et: |