Skip to content

Commit

Permalink
[#12] Feat: Json 데이터 구조체 클래스 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-Lena authored and beginin15 committed Mar 27, 2020
1 parent 5582bb1 commit 772447c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions iOS/SignUp/SignUp/Model/UserInfo.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// UserInfo.swift
// SignUp
//
// Created by Keunna Lee on 2020/03/26.
// Copyright © 2020 dev-Lena. All rights reserved.
//

import Foundation

struct Response: Codable {
let results: [UserInfo]
}

struct UserInfo: Codable {
let userId: String
let password: String
let name: String
let birthday: String
let gender: String
let email: String
let phoneNumber: String
}

struct Validation: Codable {
let valid: Bool
}

0 comments on commit 772447c

Please sign in to comment.