init server
This commit is contained in:
16
internal/account/model.go
Normal file
16
internal/account/model.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package account
|
||||
|
||||
import "time"
|
||||
|
||||
type Account struct {
|
||||
AccountEditable
|
||||
userId string `json:"userId"`
|
||||
}
|
||||
|
||||
type AccountEditable struct {
|
||||
ID string `json:"id"`
|
||||
name string `json:"name"`
|
||||
provider string `json:"provider"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt *time.Time `json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user