23 lines
394 B
Swift
23 lines
394 B
Swift
//
|
|
// Leaseholder.swift
|
|
// AlloVictor
|
|
//
|
|
// Created by Bodinaud Victor on 18/04/2024.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct Leaseholder: Codable, Identifiable {
|
|
let id: Int
|
|
let displayName: String
|
|
let avatarUrl: String
|
|
let userRatings: Int
|
|
|
|
enum CodingKeys: String, CodingKey {
|
|
case id
|
|
case displayName
|
|
case avatarUrl
|
|
case userRatings
|
|
}
|
|
}
|