hmn/src/models/library_resource.go

17 lines
407 B
Go
Raw Normal View History

2021-05-11 22:53:23 +00:00
package models
type LibraryResource struct {
ID int `db:"id"`
CategoryID int `db:"category_id"`
ProjectID *int `db:"project_id"`
Name string `db:"name"`
Description string `db:"description"`
Url string `db:"url"`
ContentType string `db:"content_type"`
Size int `db:"size"`
IsDeleted bool `db:"is_deleted"`
PreventsEmbed bool `db:"prevents_embed"`
}