// Models generated by mesh dev cli,@Author: David Yan(david.yan@qq.com).
package models

import (
	"git.apinb.com/bsm-sdk/core/database"
	"git.apinb.com/bsm-sdk/core/types"
)

/*
 * PassportTags
 * Comment:
 * Version: 10
 * Created: 2022-04-12 10:39:29 , Updated:0001-01-01 00:00:00
 */
type PassportTags struct {
	types.Std_IICUDS
	types.Std_Passport
	Name string `gorm:"column:name;type:varchar(255);not null;" json:"name"` // 标签标题
	Icon string `gorm:"column:icon;type:varchar(255);" json:"icon"`          // 标签ICON
}

func init() {
	database.AppendMigrate(&PassportTags{})
}

// TableName .
func (table *PassportTags) TableName() string {
	return "passport_tags" //对应数据库表名
}
