package entity import ( "gitea.redpowerfuture.com/red-future/common/beans" ) type SkillTemplate struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt Name string `orm:"name" json:"name"` Description string `orm:"description" json:"description"` FileName string `orm:"file_name" json:"fileName"` FileUrl string `orm:"file_url" json:"fileUrl"` } type skillTemplateCol struct { beans.SQLBaseCol Name string Description string FileName string FileUrl string } var SkillTemplateCol = skillTemplateCol{ SQLBaseCol: beans.DefSQLBaseCol, Name: "name", Description: "description", FileName: "file_name", FileUrl: "file_url", }