1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-14 01:26:05 +01:00
mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/CoreDataStack/Entity/Transient/MastodonMention.swift
2022-01-28 12:09:28 +08:00

32 lines
560 B
Swift

//
// MastodonMention.swift
// CoreDataStack
//
// Created by MainasuK on 2022-1-17.
//
import Foundation
public final class MastodonMention: NSObject, Codable {
public typealias ID = String
public let id: ID
public let username: String
public let acct: String
public let url: String
public init(
id: MastodonMention.ID,
username: String,
acct: String,
url: String
) {
self.id = id
self.username = username
self.acct = acct
self.url = url
}
}