自动化立体仓库 - WMS系统
#1
dubin
2025-11-27 031caa5cb14a709702f942aede37f6403d436650
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.zy.asrs.entity;
 
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;
 
@Data
@TableName("asr_bas_sensor")
public class BasSensor implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @ApiModelProperty(value= "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 传感器编号
     */
    @ApiModelProperty(value= "传感器编号")
    private Double number;
 
    /**
     * 传感器位置
     */
    @ApiModelProperty(value= "传感器位置")
    private String location;
 
    /**
     * 传感器温度
     */
    @ApiModelProperty(value= "传感器温度")
    private Double temperature;
 
    /**
     * 传感器湿度
     */
    @ApiModelProperty(value= "传感器湿度")
    private Double humidity;
 
    /**
     * 创建时间
     */
    @ApiModelProperty(value= "传感器湿度")
    private Date createTime;
 
    public BasSensor() {}
 
    public BasSensor(Double number,String location,Double temperature,Double humidity) {
        this.number = number;
        this.location = location;
        this.temperature = temperature;
        this.humidity = humidity;
    }
 
//    BasSensor basSensor = new BasSensor(
//            null,    // 传感器编号[非空]
//            null,    // 传感器位置
//            null,    // 传感器温度
//            null    // 传感器湿度
//    );
 
 
}