【修复】代码生成

This commit is contained in:
PandaGoAdmin
2022-07-16 18:49:57 +08:00
parent a6c5e581e3
commit 9223c6404f
19 changed files with 295 additions and 148 deletions

View File

@@ -12,8 +12,7 @@ import (
**/
type SysTenants struct {
model.BaseModel
TenantId int64 `json:"tenantId" gorm:"primary_key;AUTO_INCREMENT"`
model.BaseAutoModel
TenantName string `json:"tenantName" gorm:"type:varchar(255);comment:租户名"`
Remark string `json:"remark" gorm:"type:varchar(255);comment:备注"`
ExpireTime time.Time `json:"expireTime" gorm:"comment:过期时间"`