24 lines
895 B
Go
24 lines
895 B
Go
/*
|
|
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
|
*
|
|
* This work is published and licensed under a Creative Commons
|
|
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
|
*
|
|
* Distribution of this work is permitted, but commercial use and
|
|
* modifications are strictly prohibited.
|
|
*/
|
|
package descr
|
|
|
|
type Blob struct {
|
|
ID uint64 `db:"id" json:"id"`
|
|
Name string `db:"name" json:"name"`
|
|
Reference string `db:"reference" json:"reference"`
|
|
MediaType string `db:"mediaType" json:"mediaType"`
|
|
Digest string `db:"digest" json:"digest"`
|
|
Size int64 `db:"size" json:"size"`
|
|
CreatedAt string `db:"created_at" json:"createdAt"`
|
|
UpdatedAt string `db:"updated_at" json:"updatedAt"`
|
|
CreatedBy uint64 `db:"created_by" json:"createdBy,omitempty"`
|
|
UpdatedBy uint64 `db:"updated_by" json:"updatedBy,omitempty"`
|
|
}
|