:new:初始化脚本以及一些工具类

This commit is contained in:
coward
2024-03-06 16:24:49 +08:00
parent a9333df157
commit 7fd186d298
15 changed files with 500 additions and 11 deletions

View File

@@ -33,6 +33,7 @@ type Client struct {
UseServerDns int `json:"useServerDns" gorm:"type:int(1);default 1;comment:'是否使用服务端dns'"`
EnableAfterCreation int `json:"enableAfterCreation" gorm:"type:int(1);default 1;comment:'是否创建后启用'"`
Keys string `json:"keys" gorm:"type:text;default null;comment:'公钥和密钥的json串'"`
UserId string `json:"userId" gorm:"type:char(36);not null;comment:'创建人id'"`
}
func (*Client) TableName() string {