Move to Donetick Org, first commit
This commit is contained in:
commit
c13dd9addb
42 changed files with 7463 additions and 0 deletions
14
external/user/model/model.go
vendored
Normal file
14
external/user/model/model.go
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
uModel "donetick.com/core/internal/user/model"
|
||||
)
|
||||
|
||||
type UserExtended struct {
|
||||
uModel.User
|
||||
Credit int `gorm:"column:amount;->"`
|
||||
SubscriptionStatus *string `gorm:"column:status;<-:false"` // read one column
|
||||
ExpiredAt *time.Time `gorm:"column:expired_at;<-:false"` // read one column
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue