ing
This commit is contained in:
15
modules/apikey/model/APIKey.go
Normal file
15
modules/apikey/model/APIKey.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
domain "git.loafle.net/overflow/overflow_commons_go/modules/domain/model"
|
||||
util "git.loafle.net/overflow/overflow_commons_go/util"
|
||||
)
|
||||
|
||||
type APIKey struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
APIKey string `json:"apiKey,omitempty"`
|
||||
Date util.Timestamp `json:"createDate,omitempty"`
|
||||
Domain *domain.Domain `json:"domain,omitempty"`
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
timestamp "git.loafle.net/overflow/overflow_commons_go/modules/timestamp/model"
|
||||
domain "git.loafle.net/overflow/overflow_commons_go/modules/domain/model"
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
type ApiKey struct {
|
||||
Id json.Number `json:"id,Number,omitempty"`
|
||||
ApiKey string `json:"apiKey,omitempty"`
|
||||
Date timestamp.Timestamp `json:"createDate,omitempty"`
|
||||
Domain *domain.Domain `json:"domain,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user