// 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"
)

/*
 * PassportScore
 * Comment: 会员积分记录表
 * Version: 10
 * Created: 2022-04-12 10:38:56 , Updated:0001-01-01 00:00:00
 */
type PassportScore struct {
	types.Std_IICUDS
	types.Std_Passport
	Score  int64  `gorm:"default:0;" json:"score"`   // 积分
	Action string `gorm:"default:'';" json:"action"` // 动作
	Remark string `gorm:"default:'';" json:"remark"` // 描述

}

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

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