1package models
2
3import "time"
4
5// LFSObject is a Git LFS object.
6type LFSObject struct {
7 ID int64 `db:"id"`
8 Oid string `db:"oid"`
9 Size int64 `db:"size"`
10 RepoID int64 `db:"repo_id"`
11 CreatedAt time.Time `db:"created_at"`
12 UpdatedAt time.Time `db:"updated_at"`
13}
14
15// LFSLock is a Git LFS lock.
16type LFSLock struct {
17 ID int64 `db:"id"`
18 Path string `db:"path"`
19 UserID int64 `db:"user_id"`
20 RepoID int64 `db:"repo_id"`
21 Refname string `db:"refname"`
22 CreatedAt time.Time `db:"created_at"`
23 UpdatedAt time.Time `db:"updated_at"`
24}