1: <?php
2:
3:
4:
5:
6:
7: /**
8: * CommercialUserConfig
9: *
10: * @Table(name="COMMERCIAL_USER_CONFIG")
11: * @Entity
12: */
13: class CommercialUserConfig
14: {
15: /**
16: * @var string $fileUploadType
17: *
18: * @Column(name="FILE_UPLOAD_TYPE", type="string", length=20)
19: */
20: private $fileUploadType;
21:
22: /**
23: * @var string $soldType
24: *
25: * @Column(name="SOLD_TYPE", type="string", length=20)
26: */
27: private $soldType;
28:
29: /**
30: * @var integer $contactId
31: *
32: * @Column(name="contact_id", type="integer")
33: * @Id
34: * @GeneratedValue(strategy="IDENTITY")
35: */
36: private $contactId;
37:
38: /**
39: * @var CoreContacts
40: *
41: * @ManyToOne(targetEntity="CoreContacts")
42: * @JoinColumns({
43: * @JoinColumn(name="contact_id", referencedColumnName="id")
44: * })
45: */
46: private $contact;
47:
48:
49: /**
50: * Set fileUploadType
51: *
52: * @param string $fileUploadType
53: * @return CommercialUserConfig
54: */
55: public function setFileUploadType($fileUploadType)
56: {
57: $this->fileUploadType = $fileUploadType;
58: return $this;
59: }
60:
61: /**
62: * Get fileUploadType
63: *
64: * @return string
65: */
66: public function getFileUploadType()
67: {
68: return $this->fileUploadType;
69: }
70:
71: /**
72: * Set soldType
73: *
74: * @param string $soldType
75: * @return CommercialUserConfig
76: */
77: public function setSoldType($soldType)
78: {
79: $this->soldType = $soldType;
80: return $this;
81: }
82:
83: /**
84: * Get soldType
85: *
86: * @return string
87: */
88: public function getSoldType()
89: {
90: return $this->soldType;
91: }
92:
93: /**
94: * Get contactId
95: *
96: * @return integer
97: */
98: public function getContactId()
99: {
100: return $this->contactId;
101: }
102:
103: /**
104: * Set contact
105: *
106: * @param CoreContacts $contact
107: * @return CommercialUserConfig
108: */
109: public function setContact(\CoreContacts $contact = null)
110: {
111: $this->contact = $contact;
112: return $this;
113: }
114:
115: /**
116: * Get contact
117: *
118: * @return CoreContacts
119: */
120: public function getContact()
121: {
122: return $this->contact;
123: }
124: }