中化加油站项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
834 B

import { MarkTask } from "./mark-data";
/**
*
*/
export class MarkProperty {
/**
*
*/
institution: string;
/**
*
*/
index: number;
/**
*
*/
taskType: MarkTask;
/**
*
*/
task: string;
/**
*
*/
description: string;
constructor(taskType?: MarkTask, institution: string = "辖区中队", index: number = 1, task: string = "待命", description?: string) {
this.taskType = taskType
this.institution = institution
this.index = index
this.task = task
this.description = description
}
/**
* -
*/
getInstitutionNum() {
return this.institution + "-" + this.index;
}
}