| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- package com.imt.intimamedia.vo
- {
- import com.imt.intimamedia.helpers.AMFDateConverter;
- import com.imt.intimamedia.helpers.FormatString;
-
- [RemoteClass(alias="com.imt.intimamedia.vo.HospitalVo")]
- [Bindable]
- /**
- * Objet hopital
- */
- public class HospitalVo
- {
- private var _id : String = "";
- private var _uid : String = FormatString.generateRandomUID();
- private var _codeOrganization : String = "";
- private var _name : String = "";
- private var _creation : Date = new Date();
- private var _addressInvoicing : String = "";
- private var _addressShipping : String = "";
- private var _city : String = "";
- private var _zipCode : String = "";
- private var _phone : String = "";
- private var _fax : String = "";
- private var _state : String = "";
- private var _county : String = "";
- private var _district : String = "";
- private var _country : String = "";
-
- /**
- * Clef primaire en base
- *
- * @default généré
- */
- public function get id () : String
- {
- return _id;
- }
-
- /**
- * @private
- */
- public function set id ( value : String ) : void
- {
- _id = value;
- }
-
- /**
- * Identifiant unique
- *
- * @default généré
- */
- public function get uid () : String
- {
- return _uid;
- }
-
- /**
- * @private
- */
- public function set uid ( value : String ) : void
- {
- _uid = value;
- }
-
- /**
- * Code unique de l'établissement
- *
- * @default généré
- */
- public function get codeOrganization () : String
- {
- return _codeOrganization;
- }
-
- /**
- * @private
- */
- public function set codeOrganization ( value : String ) : void
- {
- _codeOrganization = value;
- }
-
- /**
- * Nom de l'établissement
- *
- * @default ""
- */
- public function get name () : String
- {
- return _name;
- }
-
- /**
- * @private
- */
- public function set name ( value : String ) : void
- {
- _name = value;
- }
-
- /**
- * Date de création de l'établissement
- *
- * @default null
- */
- public function get creation () : Date
- {
- return _creation;
- }
-
- /**
- * @private
- */
- public function set creation ( value : Date ) : void
- {
- _creation = AMFDateConverter.convert( value );
- }
-
- /**
- * Adresse de facturation
- *
- * @default ""
- */
- public function get addressInvoicing () : String
- {
- return _addressInvoicing;
- }
-
- /**
- * @private
- */
- public function set addressInvoicing ( value : String ) : void
- {
- _addressInvoicing = value;
- }
-
- /**
- * Adresse de livraison
- *
- * @default ""
- */
- public function get addressShipping () : String
- {
- return _addressShipping;
- }
-
- /**
- * @private
- */
- public function set addressShipping ( value : String ) : void
- {
- _addressShipping = value;
- }
-
- /**
- * Ville de l'hopital
- *
- * @default ""
- */
- public function get city () : String
- {
- return _city;
- }
-
- /**
- * @private
- */
- public function set city ( value : String ) : void
- {
- _city = value;
- }
-
- /**
- * Code postal de l'hopital
- *
- * @default 0
- */
- public function get zipCode () : String
- {
- return _zipCode;
- }
-
- /**
- * @private
- */
- public function set zipCode ( value : String ) : void
- {
- _zipCode = value;
- }
-
- /**
- * Téléphone de l'hopital
- *
- * @default 0
- */
- public function get phone () : String
- {
- return _phone;
- }
-
- /**
- * @private
- */
- public function set phone ( value : String ) : void
- {
- _phone = value;
- }
-
- /**
- * Fax de l'hopital
- *
- * @default 0
- */
- public function get fax () : String
- {
- return _fax;
- }
-
- /**
- * @private
- */
- public function set fax ( value : String ) : void
- {
- _fax = value;
- }
-
- /**
- * Etat (ou region) de l'hopital
- *
- * @default ""
- */
- public function get state () : String
- {
- return _state;
- }
-
- /**
- * @private
- */
- public function set state ( value : String ) : void
- {
- _state = value;
- }
-
- /**
- * Conté (USA) de l'hopital
- *
- * @default ""
- */
- public function get county () : String
- {
- return _county;
- }
-
- /**
- * @private
- */
- public function set county ( value : String ) : void
- {
- _county = value;
- }
-
- /**
- * District (USA) de l'hopital
- *
- * @default ""
- */
- public function get district () : String
- {
- return _district;
- }
-
- /**
- * @private
- */
- public function set district ( value : String ) : void
- {
- _district = value;
- }
-
- /**
- * Pays de l'hopital
- *
- * @default ""
- */
- public function get country () : String
- {
- return _country;
- }
-
- /**
- * @private
- */
- public function set country ( value : String ) : void
- {
- _country = value;
- }
- }
- }
|