You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
441 B
30 lines
441 B
//
|
|
// Like.swift
|
|
// IndieMusic
|
|
//
|
|
// Created by WenLei on 2024/1/8.
|
|
//
|
|
|
|
import Foundation
|
|
import RxDataSources
|
|
|
|
struct Like {
|
|
let avator: String
|
|
let name: String
|
|
let content: String
|
|
let date: Int
|
|
}
|
|
|
|
struct LikeSection {
|
|
var items: [Like]
|
|
}
|
|
|
|
extension LikeSection: SectionModelType {
|
|
typealias Item = Like
|
|
|
|
init(original: LikeSection, items: [Item]) {
|
|
self = original
|
|
self.items = items
|
|
}
|
|
}
|