/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.jiyueplatform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-06-24
 */
@Data
@TableName("third_jiyue_device_order")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "JiyueDeviceOrder对象", description = "JiyueDeviceOrder对象")
public class JiyueDeviceOrder extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 工单的唯一id
	*/
		@ApiModelProperty(value = "工单的唯一id")
		private String orderNo;
	/**
	* 用户手机号码
	*/
		@ApiModelProperty(value = "用户手机号码")
		private String userPhone;
	/**
	* 集约平台的社区id(对应本平台的小区id)
	*/
		@ApiModelProperty(value = "集约平台的社区id(对应本平台的小区id)")
		private String communityId;
	/**
	* 集约平台的社区名称（对应本平台的小区名称）
	*/
		@ApiModelProperty(value = "集约平台的社区名称（对应本平台的小区名称）")
		private String communityName;
	/**
	* 授权有效期 unix epoch格式取值为0时为不限制有效期
	*/
		@ApiModelProperty(value = "授权有效期 unix epoch格式取值为0时为不限制有效期")
		private String validBefore;
	/**
	* NB设备时，提供imei;非NB设备提供ctei
	*/
		@ApiModelProperty(value = "NB设备时，提供imei;非NB设备提供ctei")
		private String imei;
	/**
	* 设备名称
	*/
		@ApiModelProperty(value = "设备名称")
		private String deviceName;
	/**
	* 设备类型
	*/
		@ApiModelProperty(value = "设备类型")
		private String deviceType;
	/**
	* 社区中位置信息，如xx栋xx房间
	*/
		@ApiModelProperty(value = "社区中位置信息，如xx栋xx房间")
		private String location;
	/**
	* 操作类型:grant 授权 revoke 取消授权;当actionType为revoke时，仅需提供orderNo字段

	*/
		@ApiModelProperty(value = "操作类型:grant 授权 revoke 取消授权;当actionType为revoke时，仅需提供orderNo字段 ")
		private String actionType;


	/**
	 * NB设备时，提供imei;非NB设备提供ctei
	 */
	@ApiModelProperty(value = "NB设备时，提供imei;非NB设备提供ctei")
	private String ctei;

	/**
	 * 住户id
	 */
	@ApiModelProperty(value = "住户id")
	private Long userId;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;


}
