You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
473 B
17 lines
473 B
package entities
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
"time"
|
|
)
|
|
|
|
type Client struct {
|
|
Id uint `json:"id"`
|
|
AccessKey string `json:"access_key" gorm:"primaryKey"`
|
|
SecretKey string `json:"secret_key"`
|
|
Domain string `json:"domain"`
|
|
Public bool `json:"public"`
|
|
CreatedAt time.Time `json:"create_time"`
|
|
UpdatedAt time.Time `json:"update_time"`
|
|
DeletedAt gorm.DeletedAt `json:"delete_time,omitempty" gorm:"index"`
|
|
}
|
|
|