gokins/model/t_artifact_package.go
2021-07-22 10:53:38 +08:00

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"`
}