/*
 *      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.community.grid.vo;

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

import java.time.LocalDateTime;

/**
 * 设备工单实体类
 *
 * @author BladeX
 * @since 2020-10-17
 */
@Data
@TableName("yc_device_job")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeviceJob对象", description = "设备工单")
public class DeviceJob extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 设备编号
	*/
		@ApiModelProperty(value = "设备编号")
		private String deviceId;

	/**
	 * 设备名称
	 */
	@ApiModelProperty(value = "设备名称")
	private String deviceName;
	/**
	* 相关人
	*/
		@ApiModelProperty(value = "相关人")
		private String person;
	/**
	* 告警时间
	*/
		@ApiModelProperty(value = "告警时间")
		private LocalDateTime alarmTime;

	/**
	 * 告警内容
	 */
	@ApiModelProperty(value = "告警内容")
	private String alarmContent;
	/**
	* 设备类型
	*/
		@ApiModelProperty(value = "设备类型")
		private Integer deviceType;
	/**
	 * 设备用途（10：居家设备， 20：公共区域）
	 */
	@ApiModelProperty(value = "设备用途")
	private Integer deviceUsage;
	/**
	* 告警地点
	*/
		@ApiModelProperty(value = "告警地点")
		private String alarmPosition;
	/**
	* 告警类型
	*/
		@ApiModelProperty(value = "告警类型")
		private Integer alarmType;
	/**
	* 告警原因
	*/
		@ApiModelProperty(value = "告警原因")
		private String alarmReason;
	/**
	* 处理人
	*/
		@ApiModelProperty(value = "处理人")
		private String handler;
	/**
	* 电话
	*/
		@ApiModelProperty(value = "电话")
		private String phone;
	/**
	* 工单状态 工单状态: 1-处理中 2-已处理
	*/
		@ApiModelProperty(value = "工单状态")
		private Integer jobStatus;

		@ApiModelProperty(value = "orgPosition")
		private String orgPosition;

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