kit/pkg/link/link_model.go

12 lines
304 B
Go
Raw Normal View History

2023-10-25 08:49:59 +00:00
package link
import "time"
type Model struct {
ID int64 `json:"id" db:"id"`
Hash string `json:"hash" db:"hash"`
Operation string `json:"operation" db:"operation"`
TargetID string `json:"target_id" db:"target_id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
}