package org.springblade.device.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created By lidexi in 2021/4/27
 * 下发任务
 **/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class DispatchTask {

	/**
	 * 小区Id
	 */
	private Long xqId;

	/**
	 * 单元Id
	 */
	private Long unitId;

	/**
	 * 设备序列号
	 */
	private String serialNumber;

	/**
	 * 设备厂商
	 */
	private String factory;

	/**
	 * 数据
	 */
	private Object data;

	public DispatchTask(String serialNumber, Object data) {
		this.serialNumber = serialNumber;
		this.data = data;
	}
}
