| 12345678910111213141516171819202122232425 |
- //
- // NewsDetail.swift
- // Sirani
- //
- // Created by Anhar Solehudin on 06/04/19.
- // Copyright © 2019 Anhar Solehudin. All rights reserved.
- //
- import Foundation
- struct NewsDetail {
- private(set) public var id: Int
- private(set) public var title_news: String
- private(set) public var pra_news: String
- private(set) public var news: String
- private(set) public var create_date: String
-
- init (id: Int, title_news: String, pra_news: String, news: String, create_date: String) {
- self.id = id
- self.title_news = title_news
- self.pra_news = pra_news
- self.news = news
- self.create_date = create_date
- }
- }
|