1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package net.sf.emarket.account.domain;
22
23 import java.io.Serializable;
24 import java.sql.Timestamp;
25
26 import javax.persistence.Entity;
27 import javax.persistence.Id;
28
29 @Entity
30 public class Account implements Serializable {
31
32 private static final long serialVersionUID = 2044367451140120917L;
33
34 @Id
35 private String acctId = null;
36 private String id=null;
37 private String type = null;
38 private String status = null;
39 private String currency = null;
40 private String country = null;
41
42 private Timestamp lastUpdated = null;
43
44 public static final String TYPE_MARGIN = "MARGIN";
45 public static final String TYPE_CASH = "CASH";
46
47 public static final String OWNERSHIP_INDIVIDUAL = "INDIVIDUAL";
48 public static final String OWNERSHIP_JOINT = "JOINT";
49 public static final String OWNERSHIP_SYSTEM = "SYSTEM";
50
51 public static final String STATUS_PENDING = "PENDING";
52 public static final String STATUS_ACTIVE = "ACTIVE";
53 public static final String STATUS_INACTIVE = "INACTIVE";
54 public static final String STATUS_DISABLED = "DISABLED";
55
56 public String getAcctId() {
57 return acctId;
58 }
59 public void setAcctId(String acctId) {
60 this.acctId = acctId;
61 }
62 public String getId() {
63 return id;
64 }
65 public void setId(String id) {
66 this.id = id;
67 }
68 public String getType() {
69 return type;
70 }
71 public void setType(String type) {
72 this.type = type;
73 }
74 public String getStatus() {
75 return status;
76 }
77 public void setStatus(String status) {
78 this.status = status;
79 }
80 public String getCurrency() {
81 return currency;
82 }
83 public void setCurrency(String currency) {
84 this.currency = currency;
85 }
86 public String getCountry() {
87 return country;
88 }
89 public void setCountry(String country) {
90 this.country = country;
91 }
92 public Timestamp getLastUpdated() {
93 return lastUpdated;
94 }
95 public void setLastUpdated(Timestamp lastUpdated) {
96 this.lastUpdated = lastUpdated;
97 }
98 }