| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- package com.imt.intimamedia.vo
- {
- import com.imt.intimamedia.helpers.AMFDateConverter;
-
- [RemoteClass(alias="com.imt.intimamedia.vo.PatientVo")]
- [Bindable]
- /**
- * Objet utilisateur
- */
- public class PatientVo
- {
- private var _id : int;
- private var _uid : String = "";
- private var _firstName : String = "";
- private var _lastName : String = "";
- private var _creation : Date = new Date();
- private var _ethnicGroup : String = "";
- private var _sex : String = "";
- private var _birthDate : Date = new Date();
- private var _birthCountry : String = "";
- private var _lastVisit : Date = new Date();
-
- /**
- * ID patient
- *
- * @default 0
- */
- public function get id () : int
- {
- return _id;
- }
-
- /**
- * @private
- */
- public function set id ( value : int ) : void
- {
- _id = value;
- }
-
- /**
- * Identifiant unique permettant de boucler sur les différents enregistrements en base
- *
- * @default ""
- */
- public function get uid () : String
- {
- return _uid;
- }
-
- /**
- * @private
- */
- public function set uid ( value : String ) : void
- {
- _uid = value;
- }
-
- /**
- * Prénom
- *
- * @default ""
- */
- public function get firstName () : String
- {
- return _firstName;
- }
-
- /**
- * @private
- */
- public function set firstName ( value : String ) : void
- {
- _firstName = value;
- }
-
- /**
- * Nom de famille
- *
- * @default ""
- */
- public function get lastName () : String
- {
- return _lastName;
- }
-
- /**
- * @private
- */
- public function set lastName ( value : String ) : void
- {
- _lastName = value;
- }
-
- /**
- * Date de création du patient
- *
- * @default null
- */
- public function get creation () : Date
- {
- return _creation;
- }
-
- /**
- * @private
- */
- public function set creation ( value : * ) : void
- {
- _creation = AMFDateConverter.convert( value );
- }
-
- /**
- * Ethnie du patient
- *
- * @default null
- */
- public function get ethnicGroup () : String
- {
- return _ethnicGroup;
- }
-
- /**
- * @private
- */
- public function set ethnicGroup ( value : String ) : void
- {
- _ethnicGroup = value;
- }
-
- /**
- * Sexe du patient
- *
- * @default null
- */
- public function get sex () : String
- {
- return _sex;
- }
-
- /**
- * @private
- */
- public function set sex ( value : String ) : void
- {
- _sex = value;
- }
-
- /**
- * Date de naissance du patient
- *
- * @default null
- */
- public function get birthDate () : Date
- {
- return _birthDate;
- }
-
- /**
- * @private
- */
- public function set birthDate ( value : * ) : void
- {
- _birthDate = AMFDateConverter.convert( value );
- }
-
- /**
- * Pays de naissance du patient
- *
- * @default null
- */
- public function get birthCountry () : String
- {
- return _birthCountry;
- }
-
- /**
- * @private
- */
- public function set birthCountry ( value : String ) : void
- {
- _birthCountry = value;
- }
-
- /**
- * Dernière visite du patient
- *
- * @default null
- */
- public function get lastVisit () : Date
- {
- return _lastVisit;
- }
-
- /**
- * @private
- */
- public function set lastVisit ( value : * ) : void
- {
- _lastVisit = AMFDateConverter.convert( value );
- }
- }
- }
|