32 lines
821 B
Go
32 lines
821 B
Go
|
|
package entity
|
|||
|
|
|
|||
|
|
import "gitea.com/red-future/common/beans"
|
|||
|
|
|
|||
|
|
type SkillUser struct {
|
|||
|
|
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt
|
|||
|
|
|
|||
|
|
Name string `orm:"name" json:"name"`
|
|||
|
|
Description string `orm:"description" json:"description"`
|
|||
|
|
Category string `orm:"category" json:"category"`
|
|||
|
|
FileName string `orm:"file_name" json:"fileName"`
|
|||
|
|
FileUrl string `orm:"file_url" json:"fileUrl"`
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type skillUserCol struct {
|
|||
|
|
beans.SQLBaseCol
|
|||
|
|
Name string
|
|||
|
|
Description string
|
|||
|
|
Category string
|
|||
|
|
FileName string
|
|||
|
|
FileUrl string
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var SkillUserCol = skillUserCol{
|
|||
|
|
SQLBaseCol: beans.DefSQLBaseCol,
|
|||
|
|
Name: "name",
|
|||
|
|
Description: "description",
|
|||
|
|
Category: "category",
|
|||
|
|
FileName: "file_name",
|
|||
|
|
FileUrl: "file_url",
|
|||
|
|
}
|