Sha256: 421d4ad93dbdd8de4933d27330183b3b5e051dc77962b60f9e911905526fa761
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
package <%= base_package %>.models.domain { import org.restfulx.collections.ModelsCollection; import org.restfulx.models.RxModel; import <%= base_package %>.models.domain.Content; [Resource(name="assets")] [Bindable] public class Asset extends RxModel { public static const LABEL:String = "name"; public var name:String; [HasMany] public var assetAssignments:ModelsCollection; [HasMany(through="assetAssignments")] public var contents:ModelsCollection; public function AssetAssignment() { super(LABEL); } } }
Version data entries
3 entries across 3 versions & 1 rubygems