List<Size>
final class Size: Object, Decodable { @Persisted let height: Int @Persisted let url: String @Persisted let type: String @Persisted let width: Int } final class PhotoModelApi: Object, Decodable @Persisted var albumId: Int @Persisted var date: Date @Persisted var id: Int @Persisted var ownerId: Int @Persisted var sizes: List‹Size> @Persisted var text: String @Persisted var hasTags : Bool }
Обсуждают сегодня