Created
February 18, 2022 22:44
-
-
Save mazz/2eb68fd1cff8af7729e8bd28fcc0d0b5 to your computer and use it in GitHub Desktop.
viewmodel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct SectionModel: Identifiable { | |
public var id: String | |
public var index: Int | |
public var title: String | |
public var subtotal: String | |
public var items: [MarkItemModel] | |
public var commentItems: [MarkItemModel] | |
} | |
struct MarkItemModel: Identifiable { | |
public var id: String | |
public var markCategoryId: String | |
public var index: Int = Int.min | |
public var ordinal: Int | |
public var desc: String | |
public var options: Int | |
public var markOptions: [MarkOptionModel] | |
public var mark: Int = Int.min | |
public var markItemType: MbyMarkItemType | |
public var imageNames: [String] | |
public var comment: String | |
public var isMissed: Bool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment