package app.vo { [Bindable] public class Route extends NamedEntity { public var startPointId:int; public var endPointId:int; public var mapUrl:String; public var startPoint:Point; public var endPoint:Point; public function Route(state:*=null) { super(state); } public override function initialize(state:*):void { super.initialize(state); if (state != null) { this.startPointId = state.startPointId; this.endPointId = state.endPointId; this.mapUrl = state.mapUrl; } } } }