package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2024-06-25
|
*/
|
@TableName("t_user_data")
|
@Data
|
public class TUserData extends Model<TUserData> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 检测时间
|
*/
|
private Date detectionTime;
|
private Long time;
|
/**
|
* 形变量
|
*/
|
private Integer shapeVariable;
|
private Integer userId;
|
private String position;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Date getDetectionTime() {
|
return detectionTime;
|
}
|
|
public void setDetectionTime(Date detectionTime) {
|
this.detectionTime = detectionTime;
|
}
|
|
public Integer getShapeVariable() {
|
return shapeVariable;
|
}
|
|
public void setShapeVariable(Integer shapeVariable) {
|
this.shapeVariable = shapeVariable;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TUserData{" +
|
"id=" + id +
|
", detectionTime=" + detectionTime +
|
", shapeVariable=" + shapeVariable +
|
", userId=" + userId +
|
"}";
|
}
|
}
|