package com.rj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 心跳日志表
 * </p>
 *
 * @author Auto Generated
 * @since 2025-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yhy_datatype_log")
@Schema(description = "心跳日志表")
public class YhyDatatypeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键，UUID")
    @TableId("id")
    private String id;

    @Schema(description = "数据类型，固定值：HeartbeatLog")
    @TableField("data_type")
    private String dataType;

    @Schema(description = "设备号")
    @TableField("device_no")
    private String deviceNo;

    @Schema(description = "内容")
    @TableField("contents")
    private String contents;

    @Schema(description = "系统创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "系统更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

}

