2019-02-09 12:30:49 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Studio struct {
|
|
|
|
ID int `db:"id" json:"id"`
|
|
|
|
Image []byte `db:"image" json:"image"`
|
|
|
|
Checksum string `db:"checksum" json:"checksum"`
|
|
|
|
Name sql.NullString `db:"name" json:"name"`
|
2019-02-14 22:53:32 +00:00
|
|
|
URL sql.NullString `db:"url" json:"url"`
|
2019-02-09 12:30:49 +00:00
|
|
|
CreatedAt SQLiteTimestamp `db:"created_at" json:"created_at"`
|
|
|
|
UpdatedAt SQLiteTimestamp `db:"updated_at" json:"updated_at"`
|
|
|
|
}
|