地质所 沉降监测网建设项目
suerwei
2024-05-16 560e679c239af089e2ba79bdbec4bac331c01b4f
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
package com.javaweb.geo.domain;
 
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.javaweb.common.annotation.Excel;
import com.javaweb.common.core.domain.BaseEntity;
import java.util.Date;
 
/**
 * 设备库对象 js_device
 * 
 * @author cxy
 * @date 2024-05-16
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 主键 */
    private String id;
 
    /** 设备编号 */
    @Excel(name = "设备编号")
    private String code;
 
    /** 名字 */
    @Excel(name = "名字")
    private String name;
 
    /** 型号 */
    @Excel(name = "型号")
    private String type;
 
    /** 生产商 */
    @Excel(name = "生产商")
    private String manufacturer;
 
    /** 购买日期 */
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyDate;
 
    /** 价格 */
    @Excel(name = "价格")
    private Double price;
 
    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;
 
    /** 存放位置 */
    @Excel(name = "存放位置")
    private String storageAddress;
 
    public void setId(String id) 
    {
        this.id = id;
    }
 
    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }
 
    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }
 
    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }
 
    public String getType() 
    {
        return type;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }
 
    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setBuyDate(Date buyDate) 
    {
        this.buyDate = buyDate;
    }
 
    public Date getBuyDate() 
    {
        return buyDate;
    }
    public void setPrice(Double price) 
    {
        this.price = price;
    }
 
    public Double getPrice() 
    {
        return price;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }
 
    public String getStatus() 
    {
        return status;
    }
    public void setStorageAddress(String storageAddress) 
    {
        this.storageAddress = storageAddress;
    }
 
    public String getStorageAddress() 
    {
        return storageAddress;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("type", getType())
            .append("manufacturer", getManufacturer())
            .append("buyDate", getBuyDate())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("storageAddress", getStorageAddress())
            .toString();
    }
}