//
//  R5TOOLUSAGE.h
//  EAMiPad
//
//  Created by Nilesh Tupe on 9/21/16.
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RecordData.h"

@interface R5TOOLUSAGE : RecordData {
    NSString    *TOU_MRC;//department
    NSString    *TOU_TOOL;//tool
    NSString    *TOU_EVENT;// Wo number
    NSNumber    *TOU_ACT;//activity trade
    NSDate      *TOU_DATEBOOKED;
    NSDate      *TOU_DATEUSED;
    NSNumber    *TOU_HOURS;
    NSNumber    *TOU_TARIFF;
    NSDecimalNumber    *TOU_COST;
    NSNumber    *TOU_QTY;
    NSString    *TOU_GLTRANSFERFLAG;
    NSString    *TOU_TRANSCODE;
    NSNumber    *TOU_TRANSORGID;
    NSNumber    *TOU_TRANSGROUP;
    NSDate      *TOU_GLTRANSFER;
    NSNumber    *TOU_ORIGHOURS;
    NSString    *TOU_ROUTEREC;
    NSString    *TOU_JECATEGORY;
    NSString    *TOU_JESOURCE;
    NSString    *TOU_SPLITUSAGE;
    NSString    *TOU_INVOICE;
    NSString    *TOU_INVOICE_ORG;
    NSNumber    *TOU_INVOICE_REVISION;
    NSNumber    *TOU_INVOICELINE;
    NSString    *TOU_DESCRIPTION;
    NSNumber    *TOU_SCHEDULEDQUANTITY;
    NSString    *TOU_CURRENCYCODE;
    NSString    *TOU_ORG;
    NSString    *TOU_RECORDID;
    
    
    // MultiEquipment flags
    
    NSString    *TOU_MULTIEQP_ORG;
    NSString    *TOU_MULTIEQP_FLAG;
    NSString    *TOU_EQUIP;

    
}

@property(nonatomic, strong)    NSString    *TOU_MRC;
@property(nonatomic, strong)    NSString    *TOU_TOOL;
@property(nonatomic, strong)    NSString    *TOU_EVENT;
@property(nonatomic, strong)    NSNumber    *TOU_ACT;
@property(nonatomic, strong)    NSDate      *TOU_DATEBOOKED;
@property(nonatomic, strong)    NSDate      *TOU_DATEUSED;
@property(nonatomic, strong)    NSNumber    *TOU_HOURS;
@property(nonatomic, strong)    NSNumber    *TOU_HOURS_DISPLAY;
@property(nonatomic, strong)    NSNumber    *TOU_TARIFF;
@property(nonatomic, strong)    NSDecimalNumber    *TOU_COST;
@property(nonatomic, strong)    NSNumber    *TOU_QTY;
@property(nonatomic, strong)    NSString    *TOU_GLTRANSFERFLAG;
@property(nonatomic, strong)    NSString    *TOU_TRANSCODE;
@property(nonatomic, strong)    NSNumber    *TOU_TRANSORGID;
@property(nonatomic, strong)    NSNumber    *TOU_TRANSGROUP;
@property(nonatomic, strong)    NSDate      *TOU_GLTRANSFER;
@property(nonatomic, strong)    NSNumber    *TOU_ORIGHOURS;
@property(nonatomic, strong)    NSString    *TOU_ROUTEREC;
@property(nonatomic, strong)    NSString    *TOU_JECATEGORY;
@property(nonatomic, strong)    NSString    *TOU_JESOURCE;
@property(nonatomic, strong)    NSString    *TOU_SPLITUSAGE;
@property(nonatomic, strong)    NSString    *TOU_INVOICE;
@property(nonatomic, strong)    NSString    *TOU_INVOICE_ORG;
@property(nonatomic, strong)    NSNumber    *TOU_INVOICE_REVISION;
@property(nonatomic, strong)    NSNumber    *TOU_INVOICELINE;
@property(nonatomic, strong)    NSString    *TOU_DESCRIPTION;
@property(nonatomic, strong)    NSNumber    *TOU_SCHEDULEDQUANTITY;
@property(nonatomic, strong)    NSString    *TOU_CURRENCYCODE;
@property(nonatomic, strong)    NSString    *TOU_ORG;
@property(nonatomic, strong)    NSString    *TOU_RECORDID;
@property(nonatomic, strong)    NSString    *TOU_MULTIEQP_ORG;
@property(nonatomic, strong)    NSString    *TOU_MULTIEQP_FLAG;
@property (nonatomic, strong)   NSString  *xmldata;




@property(nonatomic        )    BOOL        hasChildWoClosed;
@property(nonatomic        )    BOOL        hasAllChildClosed;
@property(nonatomic        )    BOOL        isMECWo;
@property(nonatomic, strong)    NSString    *TOU_RELATED_WO;
@property(nonatomic, strong)    NSString    *TOU_ALL_EQUIP;
@property(nonatomic, strong)    NSString    *TOU_PARENT_WO;
@property(nonatomic, strong)    NSString    *TOU_EQUIP;
@property(nonatomic, strong)    NSString    *TOU_ALIAS;


@end
