Highway to PSR2
[openemr.git] / portal / patient / libs / Model / DAO / UserDAO.php
blob6a04c3e6e0486eb64ec129c774302f2b7f0fa7ba
1 <?php
2 /** @package Openemr::Model::DAO */
4 /**
6 * Copyright (C) 2016-2017 Jerry Padgett <sjpadgett@gmail.com>
8 * LICENSE: This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 * @package OpenEMR
22 * @author Jerry Padgett <sjpadgett@gmail.com>
23 * @link http://www.open-emr.org
26 /** import supporting libraries */
27 require_once("verysimple/Phreeze/Phreezable.php");
28 require_once("UserMap.php");
30 /**
31 * UserDAO provides object-oriented access to the users table. This
32 * class is automatically generated by ClassBuilder.
34 * WARNING: THIS IS AN AUTO-GENERATED FILE
36 * This file should generally not be edited by hand except in special circumstances.
37 * Add any custom business logic to the Model class which is extended from this DAO class.
38 * Leaving this file alone will allow easy re-generation of all DAOs in the event of schema changes
40 * @package Openemr::Model::DAO
41 * @author ClassBuilder
42 * @version 1.0
44 class UserDAO extends Phreezable
46 /** @var int */
47 public $Id;
49 /** @var string */
50 public $Username;
52 /** @var longtext */
53 public $Password;
55 /** @var int */
56 public $Authorized;
58 /** @var longtext */
59 public $Info;
61 /** @var int */
62 public $Source;
64 /** @var string */
65 public $Fname;
67 /** @var string */
68 public $Mname;
70 /** @var string */
71 public $Lname;
73 /** @var string */
74 public $Federaltaxid;
76 /** @var string */
77 public $Federaldrugid;
79 /** @var string */
80 public $Upin;
82 /** @var string */
83 public $Facility;
85 /** @var int */
86 public $FacilityId;
88 /** @var int */
89 public $SeeAuth;
91 /** @var int */
92 public $Active;
94 /** @var string */
95 public $Npi;
97 /** @var string */
98 public $Title;
100 /** @var string */
101 public $Specialty;
103 /** @var string */
104 public $Billname;
106 /** @var string */
107 public $Email;
109 /** @var string */
110 public $EmailDirect;
112 /** @var string */
113 public $EserUrl;
115 /** @var string */
116 public $Assistant;
118 /** @var string */
119 public $Organization;
121 /** @var string */
122 public $Valedictory;
124 /** @var string */
125 public $Street;
127 /** @var string */
128 public $Streetb;
130 /** @var string */
131 public $City;
133 /** @var string */
134 public $State;
136 /** @var string */
137 public $Zip;
139 /** @var string */
140 public $Street2;
142 /** @var string */
143 public $Streetb2;
145 /** @var string */
146 public $City2;
148 /** @var string */
149 public $State2;
151 /** @var string */
152 public $Zip2;
154 /** @var string */
155 public $Phone;
157 /** @var string */
158 public $Fax;
160 /** @var string */
161 public $Phonew1;
163 /** @var string */
164 public $Phonew2;
166 /** @var string */
167 public $Phonecell;
169 /** @var string */
170 public $Notes;
172 /** @var int */
173 public $CalUi;
175 /** @var string */
176 public $Taxonomy;
178 /** @var string */
179 public $SsiRelayhealth;
181 /** @var int */
182 public $Calendar;
184 /** @var string */
185 public $AbookType;
187 /** @var date */
188 public $PwdExpirationDate;
190 /** @var longtext */
191 public $PwdHistory1;
193 /** @var longtext */
194 public $PwdHistory2;
196 /** @var string */
197 public $DefaultWarehouse;
199 /** @var string */
200 public $Irnpool;
202 /** @var string */
203 public $StateLicenseNumber;
205 /** @var string */
206 public $NewcropUserRole;
208 /** @var int */
209 public $Cpoe;
211 /** @var string */
212 public $PhysicianType;
216 * Returns a dataset of FormHearing objects with matching ExaminerId
217 * @param Criteria
218 * @return DataSet
220 public function GetExaminerFormHearings($criteria = null)
222 return $this->_phreezer->GetOneToMany($this, "examinerlkup", $criteria);
226 * Returns a dataset of FormHearing objects with matching ReviewerId
227 * @param Criteria
228 * @return DataSet
230 public function GetReviewerFormHearings($criteria = null)
232 return $this->_phreezer->GetOneToMany($this, "reviewerlkup", $criteria);