//
//  CSFileModel.h
//  zhuxun
//
//  Created by winsoft on 17/6/16.
//
//

#import <Foundation/Foundation.h>

@interface CSFileModel : NSObject
/*
 "_id" = 5943eb1c95dace239c39acb5;
 delflag = 0;
 ext = wmv;
 isdir = 0;
 md5 = d8c2eafd90c266e19ab9dcacc479f8af;
 name = "Wildlife.wmv";
 pid = 0;
 "server_ctime" = 1497623324325;
 size = 26246026;
 "update_time" = 1497623324325;
 "user_id" = 7616;
//缺少server_full_root
 */

@property (nonatomic , copy) NSString  *sid;
/**
 *  父id.
 */
@property (nonatomic , copy) NSString  *pid;
//@property (nonatomic , copy) NSString *father_id;
@property (nonatomic , copy) NSString  *delflag;
/**
 *  扩展名
 */
@property (nonatomic , copy) NSString  *ext;

/**
 *  枚举类型值
 */
@property (nonatomic , assign) NSInteger type;
/**
 *  是否是目录文件夹
 */
@property (nonatomic , assign) BOOL  isdir;
/**
 *  文件md5值
 */
@property (nonatomic , copy) NSString  *md5;
/**
 *  文件名
 */
@property (nonatomic , copy) NSString  *name;



/**
 *  云盘端文件路径,浏览时创建并存储
 */
@property (nonatomic , copy) NSString *serverFullPath;

@property (nonatomic , copy) NSString *path;
/**
 *  文件服务器创建时间
 */
@property (nonatomic , assign) NSInteger  server_ctime;
/**
 *  文件大小,bit
 */
@property (nonatomic , assign) NSInteger  size;
/**
 *  文件最后更新时间
 */
@property (nonatomic , assign) NSInteger  update_time;
/**
 *  所属用户
 */
@property (nonatomic , copy) NSString  *user_id;


@end
