| 1234567891011121314151617181920212223242526272829303132333435 |
- //
- // JONodeModel.h
- // shiku_im
- //
- // Created by jobor Zhou on 2017/1/17.
- // Copyright © 2017年 Reese. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- /*
- 组织架构节点化
- */
- @interface JONodeModel : NSObject
- @property (nonatomic , assign) int parentId;//父节点的id,如果为-1表示该节点为根节点
- @property (nonatomic , assign) int selfId;//本节点的id
- @property (nonatomic , strong) NSString * selfName;//本节点的名称
- @property(nonatomic, copy) NSString * nodeCode;//节点code
- @property (nonatomic , assign) int depth;//该节点的深度
- @property (nonatomic , assign) BOOL expand;//该节点是否处于展开状态
- @property (nonatomic , assign) BOOL haveSub;//该节点是否有子节点
- @property (nonatomic , assign) BOOL didSelect;//该节点是否被选中
- @property (copy , nonatomic) NSString *depCode; //返回部门编号
- @end
|