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.
18 lines
473 B
18 lines
473 B
1 year ago
|
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"`
|
||
|
}
|