package tech.glinfo.enbao.modules.sh.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 智能家居电量表
 * 
 * @author linyetong
 * @email linyetong@glinfo.com
 * @date 2021-12-24 14:20:55
 */
@Data
@TableName("sh_device_power")
public class ShDevicePowerEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId
	private Integer id;
	/**
	 * 设备ID
	 */
	private Integer deviceId;
	/**
	 * 总时长
	 */
	private Integer totalDuration;
	/**
	 * 总电量
	 */
	private Integer totalPower;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
