-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1ac4a0
commit ba9ac64
Showing
5 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// NoteResponse.swift | ||
// Drink-EG | ||
// | ||
// Created by 김도연 on 8/16/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct NoteResponse : Codable { | ||
let noteId : Int | ||
let wineId : Int | ||
let name : String | ||
let picture : String | ||
let color : String | ||
let sugarContent : Int | ||
let acidity : Int | ||
let tannin : Int | ||
let body : Int | ||
let alcohol : Int | ||
let scentAroma : [String] | ||
let scentTaste : [String] | ||
let scentFinish : [String] | ||
let satisfaction : Double | ||
let review : String | ||
} |
15 changes: 15 additions & 0 deletions
15
Drink-EG/Drink-EG/Sources/Models/APIResponseModels/APIResponseNoteResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// APIResponseNoteResponse.swift | ||
// Drink-EG | ||
// | ||
// Created by 김도연 on 8/16/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct APIResponseNoteResponse : Codable { | ||
let isSuccess : Bool | ||
let code : String | ||
let message : String | ||
let result : NoteResponse | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters