25 lines
527 B
Go
25 lines
527 B
Go
|
|
package entity
|
|||
|
|
|
|||
|
|
import (
|
|||
|
|
"gitea.com/red-future/common/beans"
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
type FileTemp struct {
|
|||
|
|
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt
|
|||
|
|
|
|||
|
|
BusinessId string `orm:"business_id" json:"businessId"`
|
|||
|
|
FileUrl string `orm:"file_url" json:"fileUrl"`
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type fileTempCol struct {
|
|||
|
|
beans.SQLBaseCol
|
|||
|
|
BusinessId string
|
|||
|
|
FileUrl string
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var FileTempCol = fileTempCol{
|
|||
|
|
SQLBaseCol: beans.DefSQLBaseCol,
|
|||
|
|
BusinessId: "business_id",
|
|||
|
|
FileUrl: "file_url",
|
|||
|
|
}
|