HRM-10/HRM.UI/ClientApp/src/app/_models/FundAdmin/projectProcess.ts

45 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-11-03 13:06:00 +06:00
import { BaseObject } from "../Basic/baseObject";
import { EnumElementType, EnumProcessReferenceType, EnumTranTypeCategory } from "../enums";
import { ActivityRelatedSource } from "./ActivityRelatedSource";
import { MasterParam } from "./masterParam";
import { SystemTranType } from "./systemTranType";
import { TranElement } from "./tranElement";
export class ProjectProcess extends BaseObject{
currentProject: MasterParam | null;
currentFundTypeID: number;
description: string;
tranType: number;
systemTranTypeObj: SystemTranType | null;
category: EnumTranTypeCategory;
mapSubsidiaryObjectName_1: string;
mapSubsidiaryObjectName_2: string;
fasSubsidiaryTranObjectName: string;
activityRelatedSourceObj: ActivityRelatedSource | null;
activityRelatedSourceObjID: number;
isTranElementRequiredForVoucher: boolean;
sourceTable: string;
elementType: EnumElementType | null;
tranElements: TranElement[];
processType: EnumProcessReferenceType;
constructor() {
super();
this.currentProject = null;
this.currentFundTypeID = 0;
this.description = '';
this.tranType = 0;
this.category = EnumTranTypeCategory.None;
this.mapSubsidiaryObjectName_1 = '';
this.mapSubsidiaryObjectName_2 = '';
this.fasSubsidiaryTranObjectName = '';
this.activityRelatedSourceObj = null;
this.activityRelatedSourceObjID = 0;
this.isTranElementRequiredForVoucher = false;
this.systemTranTypeObj = null;
this.sourceTable = '';
this.elementType = null;
this.tranElements = [];
this.processType = 0;
}
}