25 lines
719 B
Go
25 lines
719 B
Go
//
|
|
// Code generated by go-jet DO NOT EDIT.
|
|
//
|
|
// WARNING: Changes to this file may cause incorrect behavior
|
|
// and will be lost if the code is regenerated
|
|
//
|
|
|
|
package model
|
|
|
|
import (
|
|
"quyun/database/fields"
|
|
"time"
|
|
)
|
|
|
|
type Medias struct {
|
|
ID int64 `sql:"primary_key" json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
Name string `json:"name"`
|
|
MimeType string `json:"mime_type"`
|
|
Size int64 `json:"size"`
|
|
Path string `json:"path"`
|
|
Metas fields.Json[fields.MediaMetas] `json:"metas"`
|
|
Hash string `json:"hash"`
|
|
}
|