Move to Donetick Org, first commit

This commit is contained in:
Mo Tarbin 2024-06-30 21:41:41 -04:00
commit c13dd9addb
42 changed files with 7463 additions and 0 deletions

14
external/user/model/model.go vendored Normal file
View 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
}