qinlaiqiao 4 лет назад
Родитель
Сommit
89935f21c1
1 измененных файлов с 19 добавлено и 4 удалено
  1. 19 4
      types/src/interface/enterprise.ts

+ 19 - 4
types/src/interface/enterprise.ts

@@ -16,18 +16,33 @@ export interface IMember {
   shareProject: 'disabled' | 'self' | 'all';
 }
 
+interface IProCptItem {
+  // 编办 ID
+  compilationID: string;
+  // 开通时间
+  upgradeTime: number;
+  // 当前是否激活
+  activated: boolean;
+  // 备注
+  remark: string;
+  // 截至时间,0 代表无限制
+  deadline: number;
+  // 锁信息 1:借出;2:销售
+  lock: number;
+}
+
 export interface IEnterprise {
   ID: string;
   adminID: string;
   members: IMember[];
   active: boolean;
   licenceNum: number;
-  cptList: string[];
+  proCptList: IProCptItem[];
   usedCptList: string[];
-  companyName: string;
+  enterpriseName: string;
   logo: string;
-  companyLocation: string[];
-  companyType: string;
+  enterpriseLocation: string[];
+  enterpriseType: string;
   companyScale: string;
   createTime: number;
   passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';