-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
4 changed files
with
40 additions
and
9 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
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
31 changes: 31 additions & 0 deletions
31
Projects/Domain/Sources/Request/ExpoCreate/ExpoCreateRequest.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,31 @@ | ||
// | ||
// ExpoCreateRequest.swift | ||
// Domain | ||
// | ||
// Created by 서지완 on 11/20/24. | ||
// Copyright © 2024 SchoolofCompany. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct ExpoCreateRequest: Codable { | ||
var title: String | ||
var description: String | ||
var startedDay: String | ||
var finishedDay: String | ||
var location: String | ||
var coverImage: String | ||
var x: String | ||
var y: String | ||
|
||
public init(title: String, description: String, startedAt: String, finishedAt: String, location: String, coverImage: String, x: String, y: String) { | ||
self.title = title | ||
self.description = description | ||
self.startedDay = startedAt | ||
self.finishedDay = finishedAt | ||
self.location = location | ||
self.coverImage = coverImage | ||
self.x = x | ||
self.y = y | ||
} | ||
} |