//
//  YHNewsModel.swift
//  galaxy
//
//  Created by Dufet on 2025/5/23.
//  Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//

import SmartCodable

class YHNewsListModel: SmartCodable {
    var page_count: Int = 0
    var list: [YHNewsModel] = []
    
    required init() {
        
    }
}

class YHNewsModel: SmartCodable {
    
    var id: String = ""
    var title: String = ""
    var content: String = ""
    var time: Int64 = 0
    var is_read: Bool = false
    var url: String = ""
    var news_type: Int = 0  // 资讯类型：1视频 2图文 4 固定链接
    var article_id: Int = 0
    var type: Int = 0
    var media_url: String = ""  // 媒体链接
    var media_transcode_url: String = "" // 媒体转码链接
    var cover_img: String = "" // 封面图片链接
    
    required init() {
        
    }
}
