overflow_commons_go/modules/apikey/model/ApiKey.go
2017-11-08 18:50:44 +09:00

14 lines
435 B
Go

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"`
}