mirror of
https://gitee.com/gokins/gokins.git
synced 2024-12-01 18:58:35 +08:00
19 lines
701 B
Go
19 lines
701 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TArtifactPackage struct {
|
|
Id string `xorm:"not null pk VARCHAR(64)" json:"id"`
|
|
Aid int64 `xorm:"not null pk autoincr BIGINT(20)" json:"aid"`
|
|
RepoId string `xorm:"index index(rpnm) VARCHAR(64)" json:"repoId"`
|
|
Name string `xorm:"index(rpnm) VARCHAR(100)" json:"name"`
|
|
DisplayName string `xorm:"VARCHAR(255)" json:"displayName"`
|
|
Desc string `xorm:"VARCHAR(500)" json:"desc"`
|
|
Created time.Time `xorm:"DATETIME" json:"created"`
|
|
Updated time.Time `xorm:"DATETIME" json:"updated"`
|
|
Deleted int `xorm:"INT(1)" json:"deleted"`
|
|
DeletedTime time.Time `xorm:"DATETIME" json:"deletedTime"`
|
|
}
|