You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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" |
|
}
|
|
|