models

package
v0.0.0-...-24f8f3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reward

type Reward struct {
	RewardId   string    `gorm:"primaryKey;type:varchar(36);" json:"rewardId"`
	UserId     string    `gorm:"type:varchar(36);index;" json:"userId"`
	TotalPoint int       `gorm:"default:0;type:bigint;" json:"totalPoint"`
	CreatedAt  time.Time `json:"createdAt"`
	UpdatedAt  time.Time `json:"updatedAt"`
}

type Rewards

type Rewards []Reward

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL