//
//  PermitToWorkLotoPermissionController.h
//  EAMNext
//
//  Created by Weikang Ding on 2/27/20.
//

#import "PermitToWorkPermissionController.h"
#import "R5PERMITTOWORKLOTO.h"

@interface PermitToWorkLotoPermissionController : PermissionController

-(id)initWithPermitToWork:(R5PERMITTOWORK *)permitToWork loto:(R5PERMITTOWORKLOTO *)loto;

-(BOOL)canInsertComment:(NSString *)functionID error:(NSString *__autoreleasing *)errorMessage;
-(BOOL)canUpdateComment:(NSString *)functionID error:(NSString *__autoreleasing *)errorMessage;
-(BOOL)canInsertDocument:(NSString *)functionID error:(NSString *__autoreleasing *)errorMessage;
-(BOOL)canUpdateChecklist:(NSString *)functionID error:(NSString *__autoreleasing *)errorMessage;

@end
