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_record")
public class ShDeviceRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId
	private Integer id;
	/**
	 * 设备ID
	 */
	private Integer deviceId;
	/**
	 * 2：密码开锁 3：卡片开锁 14：人脸开锁 15：掌纹开锁 
	 */
	private Integer action;
	/**
	 * 用户ID
	 */
	private Integer userId;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
