diamond_account.go 484 Bytes
Newer Older
kzkzzzz's avatar
kzkzzzz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package model

import (
	"time"
)

type DiamondAccount struct {
	CreatedTime time.Time `json:"created_time"` // CreatedTime
	DiamondNum  int       `json:"diamond_num"`  // 钻石数量
	Id          int64     `json:"id"`           // id
	Status      int       `json:"status"`       // 状态
	UpdatedTime time.Time `json:"updated_time"` // UpdatedTime
	UserId      int64     `json:"user_id"`      // user_id
}

func (d *DiamondAccount) TableName() string {
	return "diamond_account"
}