25 lines
497 B
Swift
25 lines
497 B
Swift
//
|
|
// Copyright Amazon.com Inc. or its affiliates.
|
|
// All Rights Reserved.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// swiftlint:disable all
|
|
import Amplify
|
|
import Foundation
|
|
|
|
public struct UserFollowers: Model {
|
|
public let id: String
|
|
public var user: User?
|
|
public var followersUser: User?
|
|
|
|
public init(id: String = UUID().uuidString,
|
|
user: User? = nil,
|
|
followersUser: User? = nil) {
|
|
self.id = id
|
|
self.user = user
|
|
self.followersUser = followersUser
|
|
}
|
|
}
|