mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
14 lines
295 B
Go
14 lines
295 B
Go
|
|
package model
|
||
|
|
|
||
|
|
// Attachment struct
|
||
|
|
type Attachment struct {
|
||
|
|
ID int32 `gorm:"column:id" json:"id"`
|
||
|
|
Cid int32 `gorm:"column:cid" json:"cid"`
|
||
|
|
Path string `gorm:"column:path" json:"path"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// TableName by Attachment
|
||
|
|
func (*Attachment) TableName() string {
|
||
|
|
return "workflow_attachment"
|
||
|
|
}
|