4.17
今天继续做项目,郭子婵做电梯设备管理,李蕊做消防设备设备管理,后端用springboot+mysql+基础的mybits,前端用html+css+js,同样是实现增删改查,并做了采购员页面,将机电设备、消防设备、电梯设备、客服设备四个管理页面的入口放到了采购员页面。

package com.example.devicemanagesystem.entity;
import lombok.Data;
import java.util.Date;
@Data
public class Device {
private Long id;
private String deviceCode;
private String deviceName;
private String deviceType;
private Date purchaseDate;
private Integer warrantyPeriod;
private String manufacturer;
private String model;
private String status;
private String location;
private String maintenanceType;
private Date createdAt;
private Date updatedAt;
public Device() {
}
public Device(Long id, String deviceCode, String deviceName, String deviceType, Date purchaseDate, Integer warrantyPeriod, String manufacturer, String model, String status, String location, String maintenanceType, Date createdAt, Date updatedAt) {
this.id = id;
this.deviceCode = deviceCode;
this.deviceName = deviceName;
this.deviceType = deviceType;
this.purchaseDate = purchaseDate;
this.warrantyPeriod = warrantyPeriod;
this.manufacturer = manufacturer;
this.model = model;
this.status = status;
this.location = location;
this.maintenanceType = maintenanceType;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDeviceCode() {
return deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceName() {
return deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getDeviceType() {
return deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Date getPurchaseDate() {
return purchaseDate;
}
public void setPurchaseDate(Date purchaseDate) {
this.purchaseDate = purchaseDate;
}
public Integer getWarrantyPeriod() {
return warrantyPeriod;
}
public void setWarrantyPeriod(Integer warrantyPeriod) {
this.warrantyPeriod = warrantyPeriod;
}
public String getManufacturer() {
return manufacturer;
}
public void setManufacturer(String manufacturer) {
this.manufacturer = manufacturer;
}
public String getModel() {
return model;
}
public void setModel(String model) {
this.model = model;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public String getMaintenanceType() {
return maintenanceType;
}
public void setMaintenanceType(String maintenanceType) {
this.maintenanceType = maintenanceType;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
}

浙公网安备 33010602011771号