4efa383c57
We don't want to directly write to models so that only selected fields can be changed and values can be validated for security reasons. Signed-off-by: Michael Mayer <michael@liquidbytes.net>
12 lines
403 B
Go
12 lines
403 B
Go
package form
|
|
|
|
// Album represents an album edit form.
|
|
type Album struct {
|
|
AlbumName string `json:"AlbumName"`
|
|
AlbumDescription string `json:"AlbumDescription"`
|
|
AlbumNotes string `json:"AlbumNotes"`
|
|
AlbumFavorite bool `json:"AlbumFavorite"`
|
|
AlbumPublic bool `json:"AlbumPublic"`
|
|
AlbumOrder string `json:"AlbumOrder"`
|
|
AlbumTemplate string `json:"AlbumTemplate"`
|
|
}
|