go-lemmy/types/person_block.gen.go

16 lines
589 B
Go
Raw Normal View History

// Source: lemmy/crates/db_schema/src/source/person_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
package types
type PersonBlock struct {
ID int `json:"id" url:"id,omitempty"`
PersonID int `json:"person_id" url:"person_id,omitempty"`
TargetID int `json:"target_id" url:"target_id,omitempty"`
Published LemmyTime `json:"published" url:"published,omitempty"`
}
type PersonBlockForm struct {
PersonID int `json:"person_id" url:"person_id,omitempty"`
TargetID int `json:"target_id" url:"target_id,omitempty"`
}