//
//  ICRStoreResult.h
//  Cruiser
//
//  Created by Xummer on 15/6/7.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "IBTModel.h"
#import "GTOPatrolPlan.h"
//typedef NS_ENUM(NSUInteger,patrolState) {
//    kPatrolStateInital = 0,
//    kPatrolStateSubmitted,
//    kPatrolStateProcessing,
//    kPatrolStateFinished,
//    kPatrolStateCancled,
//};
typedef NS_ENUM(NSUInteger,patrolStoreState) {
    kPatrolStoreStateSubmitted = 0,//已提交
    kPatrolStoreStateUnsubmitted,//待提交
    kPatrolStoreStateUnfinished,  //未填完

};
@interface ICRStoreResult : IBTModel





@property (copy, nonatomic) NSString * uuid;
@property (copy, nonatomic) NSString * f_user_uuid;
@property (copy, nonatomic) NSString * f_user_code;
@property (copy, nonatomic) NSString * f_user_name;
@property (copy, nonatomic) NSString * store_uuid;
@property (copy, nonatomic) NSString * store_code;
@property (copy, nonatomic) NSString * store_name;
@property (copy, nonatomic) NSString * realStore_uuid;
@property (copy, nonatomic) NSString * realStore_code;
@property (copy, nonatomic) NSString * realStore_name;
@property (copy, nonatomic) NSString * longitude;
@property (copy, nonatomic) NSString * latitude;
@property (copy, nonatomic) NSString * beginTime;//
@property (copy, nonatomic) NSString * endTime;//
@property (copy, nonatomic) NSString * uploadTime;//????上传时间 
@property (copy, nonatomic) NSString * score;//总分数
@property (copy, nonatomic) NSString *remark;
@property (copy, nonatomic) NSArray * answers;


@property (copy, nonatomic) NSArray *questions;
//@property (assign , nonatomic) NSUInteger finishedQuestionNumber;
//@property (copy, nonatomic) NSString *patrolUuid;
//@property (copy, nonatomic) NSString *inspectoryUuid;
@property (assign, nonatomic) patrolStoreState state;//状态

@property (copy, nonatomic) NSArray *arrDisplayResults;
@property (copy, nonatomic) NSArray *arrCategorys;

//另外增加签到位置时间记录
@property (copy, nonatomic) NSString *locatedTime;
@property (assign, nonatomic) GTOPatrolPlanStatus planState;  // 状态
@property (copy, nonatomic) NSString *plan_uuid;

//@property (copy, nonatomic) NSString* category;
//local
//@property (assign, nonatomic) NSUInteger planID;
//@property (assign, nonatomic) BOOL isNotUploaded;

@end
