You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

68 lines
1.9 KiB

//
// SafetyRailModel.h
// LekangGuard
//
// Created by ecell on 2022/12/12.
//
#import "BaseModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface SafetyRailModel : BaseModel
/// string example: 最后一次进入或离开该安全区域的动作('enter','leave')
@property (nonatomic ,copy) NSString * action;
/// string example: 安全区域地址
@property (nonatomic ,copy) NSString *address;
/// string($date-time) example: 创建时间
@property (nonatomic ,copy) NSString *createTime;
/// string example: 创建人
@property (nonatomic ,copy) NSString *createUser;
/// string example: 结束时间, 24小时制, eg: '08:00'
@property (nonatomic ,copy) NSString *endTime;
/// string example: 主键Id
@property (nonatomic ,copy) NSString *Id;
/// string example: 设备imei
@property (nonatomic ,copy) NSString *imei;
/// string example: 纬度
@property (nonatomic ,copy) NSString *lat;
/// string example: 经度
@property (nonatomic ,copy) NSString *lon;
/// string example: 安全区域名字
@property (nonatomic ,copy) NSString *name;
/// string 属性 选项:1-安全区域和 2-危险区域
@property (nonatomic ,assign) NSInteger property;
/// integer($int32) example: 安全区域半径
@property (nonatomic ,assign) NSInteger radius;
/// string example: 开始时间, 24小时制, eg: '08:00'
@property (nonatomic ,copy) NSString *startTime;
/// string example: 是否开启(0:关闭 1:开启)
@property (nonatomic ,copy) NSString *status;
/// string example: 重复星期数
@property (nonatomic ,copy) NSString *week;
/// 多个经纬度的‘顶点坐标’集合,注意一定要是多边形的顶点 (多边形围栏)
@property (nonatomic ,copy) NSArray *boundaryCoordinates;
/// 围栏类型 1或2 1就是圆形参数就是一个经纬度和半径;2就是多边形参数是一组经纬度
@property (nonatomic ,assign) NSInteger type;
@end
NS_ASSUME_NONNULL_END