|
@@ -1,9 +1,11 @@
|
|
|
|
|
+import { EntityType } from './User';
|
|
|
import { ValuationType } from './compilation';
|
|
import { ValuationType } from './compilation';
|
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
import { IIncreaseSetting } from './increaseFee';
|
|
|
import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
|
|
import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
|
|
|
import { ICalcOption, ITenderSetting } from './calculation';
|
|
import { ICalcOption, ITenderSetting } from './calculation';
|
|
|
import { ISharePermission } from './share';
|
|
import { ISharePermission } from './share';
|
|
|
|
|
|
|
|
|
|
+// 项目类型
|
|
|
export enum ProjectType {
|
|
export enum ProjectType {
|
|
|
FOLDER = 1,
|
|
FOLDER = 1,
|
|
|
CONSTRUCTION, // 建设项目
|
|
CONSTRUCTION, // 建设项目
|
|
@@ -213,7 +215,9 @@ export enum ImportType {
|
|
|
export interface IProject extends ITreeScm {
|
|
export interface IProject extends ITreeScm {
|
|
|
type: ProjectType;
|
|
type: ProjectType;
|
|
|
compilationID: string;
|
|
compilationID: string;
|
|
|
- userID: string;
|
|
|
|
|
|
|
+ ownerID: string;
|
|
|
|
|
+ ownerType: EntityType;
|
|
|
|
|
+ creator: string;
|
|
|
name: string;
|
|
name: string;
|
|
|
code?: string;
|
|
code?: string;
|
|
|
createDate: number;
|
|
createDate: number;
|