added model
This commit is contained in:
14
modules/apikey/model/ApiKey.go
Normal file
14
modules/apikey/model/ApiKey.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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