preorder/models/format.go

16 lines
313 B
Go
Raw Normal View History

2024-06-18 04:37:32 +00:00
package models
type Format struct {
ID uint `json:"id" gorm:"primary_key"`
Format string `json:"format"`
}
type CreateFormatInput struct {
ID uint `json:"id" binding:"required"`
Format string `json:"format" binding:"required"`
}
type UpdateFormatInput struct {
Format string `json:"format"`
}