2023-01-31 03:38:57 +00:00
|
|
|
// Source: lemmy/crates/db_schema/src/source/comment_reply.rs
|
2023-04-21 02:27:38 +00:00
|
|
|
// Code generated by go.elara.ws/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
|
2023-01-31 03:38:57 +00:00
|
|
|
|
|
|
|
package types
|
|
|
|
|
|
|
|
type CommentReply struct {
|
|
|
|
ID int `json:"id" url:"id,omitempty"`
|
|
|
|
RecipientID int `json:"recipient_id" url:"recipient_id,omitempty"`
|
|
|
|
CommentID int `json:"comment_id" url:"comment_id,omitempty"`
|
|
|
|
Read bool `json:"read" url:"read,omitempty"`
|
|
|
|
Published LemmyTime `json:"published" url:"published,omitempty"`
|
|
|
|
}
|
|
|
|
type CommentReplyInsertForm struct {
|
|
|
|
RecipientID int `json:"recipient_id" url:"recipient_id,omitempty"`
|
|
|
|
CommentID int `json:"comment_id" url:"comment_id,omitempty"`
|
|
|
|
Read Optional[bool] `json:"read" url:"read,omitempty"`
|
|
|
|
}
|
|
|
|
type CommentReplyUpdateForm struct {
|
|
|
|
Read Optional[bool] `json:"read" url:"read,omitempty"`
|
|
|
|
}
|