Tusker/Packages/ComposeUI/Sources/ComposeUI/CoreData/PollOption.swift

22 lines
324 B
Swift

//
// PollOption.swift
// ComposeUI
//
// Created by Shadowfacts on 4/22/23.
//
import CoreData
@objc
public class PollOption: NSManagedObject, Identifiable {
public var id: NSManagedObjectID {
objectID
}
@NSManaged public var text: String
@NSManaged public var poll: Poll
}