Przeglądaj źródła

refactor(types): 企业类型

qinlaiqiao 5 lat temu
rodzic
commit
575f104e5a
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      types/src/interface/enterprise.ts

+ 3 - 2
types/src/interface/enterprise.ts

@@ -34,8 +34,9 @@ interface IProCptItem {
 export interface IEnterprise {
 export interface IEnterprise {
   ID: string;
   ID: string;
   adminID: string;
   adminID: string;
+  adminName: string;
   members: IMember[];
   members: IMember[];
-  active: boolean;
+  activated: boolean;
   licenceNum: number;
   licenceNum: number;
   proCptList: IProCptItem[];
   proCptList: IProCptItem[];
   usedCptList: string[];
   usedCptList: string[];
@@ -43,7 +44,7 @@ export interface IEnterprise {
   logo: string;
   logo: string;
   enterpriseLocation: string[];
   enterpriseLocation: string[];
   enterpriseType: string;
   enterpriseType: string;
-  companyScale: string;
+  enterpriseScale: string;
   createTime: number;
   createTime: number;
   passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';
   passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';
   ip: string;
   ip: string;