go-lemmy/types/community_block.gen.go

16 lines
626 B
Go
Raw Normal View History

// Source: lemmy/crates/db_schema/src/source/community_block.rs
2023-01-07 22:45:01 +00:00
// Code generated by go.arsenm.dev/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
package types
type CommunityBlock struct {
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"`
}
type CommunityBlockForm struct {
PersonID int `json:"person_id" url:"person_id,omitempty"`
CommunityID int `json:"community_id" url:"community_id,omitempty"`
}