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; } } }