Skip to content

Commit

Permalink
[add] #13 User, Dog 엔티티 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
green-yoon87 committed Nov 6, 2024
1 parent 4f00801 commit 645de7a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
29 changes: 29 additions & 0 deletions SniffMeet/SniffMeet/Source/Auth/CreateProfile/Entity/Dog.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// Dog.swift
// SniffMeet
//
// Created by 윤지성 on 11/6/24.
//

import Foundation

struct Dog {
let name: String
let size: DogSize
let keyword: [DogKeyword]
}

enum DogSize {
case superSmall
case small
case medium
case big
}

enum DogKeyword {
case kind
case quiet
case energetic
case shy
case independent
}
14 changes: 14 additions & 0 deletions SniffMeet/SniffMeet/Source/Auth/CreateProfile/Entity/User.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// User.swift
// SniffMeet
//
// Created by 윤지성 on 11/6/24.
//

import Foundation

struct User {
let nickname: String
let profileImage: Data?
let dog: Dog
}

0 comments on commit 645de7a

Please sign in to comment.