Domain Documentation

Class Comment​With​Author​Row

public final class CommentWithAuthorRow: Codable  

Representation of a row combining Comments and Users.

CommentWithAuthorRow CommentWithAuthorRow Codable Codable CommentWithAuthorRow->Codable

Conforms To

Codable

Properties

id

public let id: Int

Same as Comments's id.

created​At

public let createdAt: Date

Same as Comments's createdAt.

updated​At

public let updatedAt: Date

Same as Comments's updatedAt.

body

public let body: String

Same as Comments's body.

username

public let username: String

Same as Users's username.

bio

public let bio: String

Same as Users's bio.

image

public let image: String

Same as Users's image.

following

public let following: Bool? 

Whether the author of the comment is followed.