2023-01-07 23:05:40 +00:00
|
|
|
// Source: lemmy/crates/db_schema/src/source/community_block.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-07 22:45:01 +00:00
|
|
|
|
2023-01-05 20:51:45 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
type CommunityBlock struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
ID int `json:"id" url:"id,omitempty"`
|
|
|
|
PersonID int `json:"person_id" url:"person_id,omitempty"`
|
|
|
|
CommunityID int `json:"community_id" url:"community_id,omitempty"`
|
|
|
|
Published LemmyTime `json:"published" url:"published,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|
|
|
|
type CommunityBlockForm struct {
|
2023-01-05 21:42:24 +00:00
|
|
|
PersonID int `json:"person_id" url:"person_id,omitempty"`
|
|
|
|
CommunityID int `json:"community_id" url:"community_id,omitempty"`
|
2023-01-05 20:51:45 +00:00
|
|
|
}
|