初始版本
This commit is contained in:
45
app/api/system/tenant/model/index.ts
Normal file
45
app/api/system/tenant/model/index.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import type { PageParam } from '@/api';
|
||||
import type { Company } from '@/api/system/company/model';
|
||||
|
||||
/**
|
||||
* 租户
|
||||
*/
|
||||
export interface Tenant {
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 租户名称
|
||||
tenantName?: string;
|
||||
// 关联用户ID
|
||||
userId?: number;
|
||||
// 超级管理员账号
|
||||
username?: string;
|
||||
// 超级管理员手机号
|
||||
phone?: string;
|
||||
// 用户昵称
|
||||
nickname?: string;
|
||||
// 真实姓名
|
||||
realName?: string;
|
||||
// 企业名称
|
||||
companyName?: string;
|
||||
// 备注
|
||||
description?: string;
|
||||
// 创建时间
|
||||
createTime?: string;
|
||||
// 状态
|
||||
status?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 租户搜索条件
|
||||
*/
|
||||
export interface TenantParam extends PageParam {
|
||||
tenantName?: string;
|
||||
appId?: string;
|
||||
userId?: number;
|
||||
companyId?: number;
|
||||
companyName?: string;
|
||||
version?: string;
|
||||
province?: string;
|
||||
city?: string;
|
||||
tenantCode?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user