26 lines
835 B
TypeScript
26 lines
835 B
TypeScript
import {UsedMaterial} from "./used-material";
|
|
import {Comment} from "./comment";
|
|
|
|
export class SimpleFault {
|
|
public id?: number;
|
|
public workSheetNumber?: string;
|
|
public facilityLocation: number;
|
|
public facilityLocationDescription: string;
|
|
public errorCategory: number;
|
|
public errorOrigin: number;
|
|
public errorDescription: string;
|
|
public solutionTimeInterval: number;
|
|
public attachments?: string[];
|
|
public reportAccepted?: any;
|
|
public createdAt?: any;
|
|
public state?: string;
|
|
public workCostEstimate?: number;
|
|
public materialCostEstimate?: number;
|
|
public comments?: Array<Comment>;
|
|
public worker?: number;
|
|
public usedMaterials?: Array<UsedMaterial>;
|
|
public timeSpent?: number;
|
|
public mustLowerCost?: boolean = false;
|
|
public allocatedExpense?: number = 0;
|
|
}
|