Files
admin-go/internal/app/system/model/entity/module_tenant.go
2026-03-18 10:19:42 +08:00

30 lines
1.4 KiB
Go

/*
* @desc:模块租户关系实体
* @company:云南奇讯科技有限公司
* @Author: system
* @Date: 2026/1/6
*/
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/tiger1103/gfast/v3/internal/app/system/consts"
)
// ModuleTenant is the golang structure for table module_tenant.
type ModuleTenant struct {
Id uint64 `json:"id" description:""`
CreateBy uint64 `json:"createBy" description:"创建者"`
UpdateBy uint64 `json:"updateBy" description:"更新者"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
ModuleKey string `json:"moduleKey" description:"模块Key"`
TenantId uint64 `json:"tenantId" description:"租户ID"`
ExpireAt *gtime.Time `json:"expireAt" description:"到期时间"`
AssetId string `json:"assetId" description:"资产ID"`
AssetSkuId string `json:"assetSkuId" description:"资产SKU ID"`
TenantModuleType string `json:"tenantModuleType" description:"租户模块类型"`
CertificationStatus consts.CertificationStatus `json:"certificationStatus" description:"认证状态"`
}