go-lemmy/types/community_block.gen.go

16 lines
626 B
Go

// Source: lemmy/crates/db_schema/src/source/community_block.rs
// 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"`
}