| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- package com.imt.intimamedia.vo
- {
- import com.imt.intimamedia.helpers.AMFDateConverter;
- import com.imt.intimamedia.helpers.FormatString;
-
- [RemoteClass(alias="com.imt.intimamedia.vo.PersonVo")]
- [Bindable]
- /**
- * Objet utilisateur
- */
- public class PersonVo
- {
- private var _id : int = 0;
- private var _uid : String = FormatString.generateRandomUID();
- private var _firstName : String = "";
- private var _lastName : String = "";
- private var _creation : Date = new Date();
- private var _phone : String = "";
- private var _fax : String = "";
- private var _activity : String = "";
- private var _cellular : String = "";
- private var _mail : String = "";
- private var _organization : String = "";
-
- /**
- * Identifiant
- *
- * @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 );
- }
-
- /**
- * Téléphone du de l'utilisateur (humain)
- *
- * @default ""
- */
- public function get phone () : String
- {
- return _phone;
- }
-
- /**
- * @private
- */
- public function set phone ( value : String ) : void
- {
- _phone = value;
- }
-
- /**
- * Fax du de l'utilisateur (humain)
- *
- * @default ""
- */
- public function get fax () : String
- {
- return _fax;
- }
-
- /**
- * @private
- */
- public function set fax ( value : String ) : void
- {
- _fax = value;
- }
-
- /**
- * Spécialité de l'utilisateur (humain) - achat, cardiologue, neurologue...
- *
- * @default ""
- */
- public function get activity () : String
- {
- return _activity;
- }
-
- /**
- * @private
- */
- public function set activity ( value : String ) : void
- {
- _activity = value;
- }
-
- /**
- * Portable du de l'utilisateur (humain)
- *
- * @default ""
- */
- public function get cellular () : String
- {
- return _cellular;
- }
-
- /**
- * @private
- */
- public function set cellular ( value : String ) : void
- {
- _cellular = value;
- }
-
- /**
- * Mail du de l'utilisateur (humain)
- *
- * @default ""
- */
- public function get mail () : String
- {
- return _mail;
- }
-
- /**
- * @private
- */
- public function set mail ( value : String ) : void
- {
- _mail = value;
- }
-
- /**
- * Nom de l'établissement
- *
- * @default ""
- */
- public function get organization () : String
- {
- return _organization;
- }
-
- /**
- * @private
- */
- public function set organization ( value : String ) : void
- {
- _organization = value;
- }
- }
- }
|