package com.zksy.audio.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 噪音信息表
 * @TableName noise_info
 */
@TableName(value = "noise_info", schema = "app_user")
@Data
public class NoiseInfo implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备编号
     */
    @TableField(value = "encode")
    private String encode;

    /**
     * 功率值
     */
    @TableField(value = "power")
    private Double power;

    /**
     * 增益值
     */
    @TableField(value = "gain")
    private Double gain;

    /**
     * 特征值
     */
    @TableField(value = "rms")
    private Integer rms;

    /**
     * 中心频率
     */
    @TableField(value = "center_frequency")
    private Double centerFrequency;

    /**
     * 文件路径
     */
    @TableField(value = "filepath")
    private String filepath;

    /**
     * 时间戳（格式：yyyy-MM-dd HH:mm:ss）
     */
    @TableField(value = "ts")
    private String ts;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}