18 lines
327 B
Swift
18 lines
327 B
Swift
//
|
|
// MedicationDTO.swift
|
|
// medmap
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct MedicationDTO: Decodable {
|
|
let medicationId: String
|
|
let name: String
|
|
let activeIngredient: String?
|
|
let dosageForm: String?
|
|
let medicationPhoto: String?
|
|
}
|
|
|
|
struct ListOfMedicationsResponse: Decodable {
|
|
let medications: [MedicationDTO]
|
|
} |