54 lines
1.7 KiB
TypeScript
54 lines
1.7 KiB
TypeScript
import { Workbasket } from 'app/shared/models/workbasket';
|
|
import { ObjectReference } from './object-reference';
|
|
import { ClassificationSummary } from '../../shared/models/classification-summary';
|
|
|
|
export class Task {
|
|
constructor(
|
|
public taskId: string,
|
|
public primaryObjRef: ObjectReference = new ObjectReference(),
|
|
public workbasketSummary?: Workbasket,
|
|
public classificationSummary?: ClassificationSummary,
|
|
public businessProcessId?: string,
|
|
public parentBusinessProcessId?: string,
|
|
public owner?: string,
|
|
public created?: string, // ISO-8601
|
|
public claimed?: string, // ISO-8601
|
|
public completed?: string, // ISO-8601
|
|
public modified?: string, // ISO-8601
|
|
public planned?: string, // ISO-8601
|
|
public received?: string, // ISO-8601
|
|
public due?: string, // ISO-8601
|
|
public name?: string,
|
|
public creator?: string,
|
|
public description?: string,
|
|
public note?: string,
|
|
public state?: any,
|
|
public read?: boolean,
|
|
public transferred?: boolean,
|
|
public priority?: number,
|
|
public customAttributes: CustomAttribute[] = [],
|
|
public callbackInfo: CustomAttribute[] = [],
|
|
public custom1?: string,
|
|
public custom2?: string,
|
|
public custom3?: string,
|
|
public custom4?: string,
|
|
public custom5?: string,
|
|
public custom6?: string,
|
|
public custom7?: string,
|
|
public custom8?: string,
|
|
public custom9?: string,
|
|
public custom10?: string,
|
|
public custom11?: string,
|
|
public custom12?: string,
|
|
public custom13?: string,
|
|
public custom14?: string,
|
|
public custom15?: string,
|
|
public custom16?: string
|
|
) {}
|
|
}
|
|
|
|
export class CustomAttribute {
|
|
key: string;
|
|
value: string;
|
|
}
|