Skip to content

Commit

Permalink
[Feat/#7] Entity 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-seonwoo committed Jun 7, 2024
1 parent 9b33e13 commit 28678a3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Tving-Clone/Tving-Clone/Domain/Entities/Content.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// Movie.swift
// Tving-Clone
//
// Created by Seonwoo Kim on 6/7/24.
//

import Foundation

struct Content {
let data: [ContentData]
}

struct ContentData {
let image: String
var title: String
var maker: String
var subTitle: String
var ratio: String
}
17 changes: 17 additions & 0 deletions Tving-Clone/Tving-Clone/Domain/Entities/ContentDetail.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// MovieDetail.swift
// Tving-Clone
//
// Created by Seonwoo Kim on 6/7/24.
//

import Foundation

struct ContentDetail {
var title: String
var openDt: String
var directors: String
var actors: String
var audits: String
var companys: String
}

0 comments on commit 28678a3

Please sign in to comment.