//
//  GTOPioneeringSurveyItem.h
//  total
//
//  Created by freecui on 15/10/20.
//  Copyright (c) 2015年 free. All rights reserved.
//

#import "IBTModel.h"
#import "GTOQuestion.h"

//typedef NS_ENUM(NSUInteger, ICRQestionType) {
//    kICRQestionTypeSingleSel = 0,
//    kICRQestionTypeMultipleSel,
//    kICRQestionTypeReply,
//    kICRQestionTypeScore,
//    kICRQestionTypeStoreInv,
//    kICRQestionTypeSpeciesInv,
//    kICRQestionTypeStarNum,
//    kICRQestionTypeSingleScore//单选打分（新增加）
//};

@interface GTOPioneeringSurveyItem : IBTModel

@property (copy, nonatomic) NSString *uuid; //内部标识
@property (copy, nonatomic) NSString *category; //问题分类
@property (assign, nonatomic) ICRQestionType type; // 题目类型
@property (assign, nonatomic) NSUInteger lineNo; //题目序号
@property (copy, nonatomic) NSString *reference; //参考标准
@property (copy, nonatomic) NSString *attachmentId; // 附件id
@property (copy, nonatomic) NSString *title; // 题目标题
@property (assign, nonatomic) NSUInteger star; //星数
@property (assign, nonatomic) NSUInteger scoreFrom; //开始分数
@property (assign, nonatomic) NSUInteger scoreTo; //结束分数
@property (assign, nonatomic) BOOL writingReply; //是否文字回复
@property (assign, nonatomic) BOOL pictureReply;//是否图片回复
@property (assign, nonatomic) BOOL recordReply; //是否录音回复

@property (assign, nonatomic) NSUInteger resultScore; //打分结果
@property (copy, nonatomic) NSString *resultContent;
@property (copy, nonatomic) NSString *resultRemark;
@property (copy, nonatomic) NSString *resultAttachmentId;  //结果附件id 没做

@property (copy, nonatomic) NSArray *details;//问题明细列表
@property (copy, nonatomic) NSArray *resultDetails;

@property (copy, nonatomic) NSArray *attachmentUrls;//问题附件路径列表
@property (copy, nonatomic) NSArray *resultAttachmentUrls;//答案附件问题列表

//@property (assign, nonatomic) NSUInteger scoreType; //得分类型

@end
