| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- export enum Relationship {
- ADMIN = 'admin',
- STAFF = 'staff',
- IRRELEVANT = 'irrelevant',
- }
- export interface IMember {
- userID: string;
- memberName: string;
- activated: boolean;
- cptList: string[];
- createProject: 'yes' | 'no';
- projectView: 'self' | 'all';
- editProject: 'self' | 'all';
- exportProject: 'disabled' | 'self' | 'all';
- importProject: 'disabled' | 'self' | 'all';
- shareProject: 'disabled' | 'self' | 'all';
- }
- export 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;
- adminName: string;
- members: IMember[];
- activated: boolean;
- licenceNum: number;
- proCptList: IProCptItem[];
- usedCptList: string[];
- enterpriseName: string;
- logo: string;
- enterpriseLocation: string[];
- enterpriseType: string;
- enterpriseScale: string;
- createTime: number;
- passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';
- ip: string;
- logoutRule: string;
- }
|