You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
237 lines
5.2 KiB
Java
237 lines
5.2 KiB
Java
2 years ago
|
package com.aucma.base.domain;
|
||
|
|
||
|
import java.util.Date;
|
||
|
|
||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||
|
import com.aucma.common.annotation.Excel;
|
||
|
import com.aucma.common.core.domain.BaseEntity;
|
||
|
|
||
|
/**
|
||
|
* 设备台账对象 base_deviceledger
|
||
|
*
|
||
|
* @author Yinq
|
||
|
* @date 2023-09-19
|
||
|
*/
|
||
|
public class BaseDeviceLedger extends BaseEntity {
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
/**
|
||
|
* 主键标识
|
||
|
*/
|
||
|
private Long objId;
|
||
|
|
||
|
/**
|
||
|
* 设备编号
|
||
|
*/
|
||
|
@Excel(name = "设备编号")
|
||
|
private String deviceCode;
|
||
|
|
||
|
/**
|
||
|
* 设备名称
|
||
|
*/
|
||
|
@Excel(name = "设备名称")
|
||
|
private String deviceName;
|
||
|
|
||
|
/**
|
||
|
* 设备型号
|
||
|
*/
|
||
|
@Excel(name = "设备型号")
|
||
|
private String deviceModel;
|
||
|
|
||
|
/**
|
||
|
* 设备类型
|
||
|
*/
|
||
|
@Excel(name = "设备类型")
|
||
|
private Long deviceType;
|
||
|
|
||
|
/**
|
||
|
* 设备位置
|
||
|
*/
|
||
|
@Excel(name = "设备位置")
|
||
|
private String deviceAddress;
|
||
|
|
||
|
/**
|
||
|
* 设备状态
|
||
|
*/
|
||
|
@Excel(name = "设备状态")
|
||
|
private Long deviceStatus;
|
||
|
|
||
|
/**
|
||
|
* 使用部门
|
||
|
*/
|
||
|
@Excel(name = "使用部门")
|
||
|
private String usedDepartment;
|
||
|
|
||
|
/**
|
||
|
* 所属工位
|
||
|
*/
|
||
|
@Excel(name = "所属工位")
|
||
|
private String productLineCode;
|
||
|
|
||
|
/**
|
||
|
* 启用标识
|
||
|
*/
|
||
|
@Excel(name = "启用标识")
|
||
|
private Long isFlag;
|
||
|
|
||
|
/**
|
||
|
* 创建人
|
||
|
*/
|
||
|
@Excel(name = "创建人")
|
||
|
private String createdBy;
|
||
|
|
||
|
/**
|
||
|
* 创建时间
|
||
|
*/
|
||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||
|
private Date createdTime;
|
||
|
|
||
|
/**
|
||
|
* 更新人
|
||
|
*/
|
||
|
@Excel(name = "更新人")
|
||
|
private String updatedBy;
|
||
|
|
||
|
/**
|
||
|
* 更新时间
|
||
|
*/
|
||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
|
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||
|
private Date updatedTime;
|
||
|
|
||
|
public void setObjId(Long objId) {
|
||
|
this.objId = objId;
|
||
|
}
|
||
|
|
||
|
public Long getObjId() {
|
||
|
return objId;
|
||
|
}
|
||
|
|
||
|
public void setDeviceCode(String deviceCode) {
|
||
|
this.deviceCode = deviceCode;
|
||
|
}
|
||
|
|
||
|
public String getDeviceCode() {
|
||
|
return deviceCode;
|
||
|
}
|
||
|
|
||
|
public void setDeviceName(String deviceName) {
|
||
|
this.deviceName = deviceName;
|
||
|
}
|
||
|
|
||
|
public String getDeviceName() {
|
||
|
return deviceName;
|
||
|
}
|
||
|
|
||
|
public void setDeviceModel(String deviceModel) {
|
||
|
this.deviceModel = deviceModel;
|
||
|
}
|
||
|
|
||
|
public String getDeviceModel() {
|
||
|
return deviceModel;
|
||
|
}
|
||
|
|
||
|
public void setDeviceType(Long deviceType) {
|
||
|
this.deviceType = deviceType;
|
||
|
}
|
||
|
|
||
|
public Long getDeviceType() {
|
||
|
return deviceType;
|
||
|
}
|
||
|
|
||
|
public void setDeviceAddress(String deviceAddress) {
|
||
|
this.deviceAddress = deviceAddress;
|
||
|
}
|
||
|
|
||
|
public String getDeviceAddress() {
|
||
|
return deviceAddress;
|
||
|
}
|
||
|
|
||
|
public void setDeviceStatus(Long deviceStatus) {
|
||
|
this.deviceStatus = deviceStatus;
|
||
|
}
|
||
|
|
||
|
public Long getDeviceStatus() {
|
||
|
return deviceStatus;
|
||
|
}
|
||
|
|
||
|
public void setUsedDepartment(String usedDepartment) {
|
||
|
this.usedDepartment = usedDepartment;
|
||
|
}
|
||
|
|
||
|
public String getUsedDepartment() {
|
||
|
return usedDepartment;
|
||
|
}
|
||
|
|
||
|
public void setProductLineCode(String productLineCode) {
|
||
|
this.productLineCode = productLineCode;
|
||
|
}
|
||
|
|
||
|
public String getProductLineCode() {
|
||
|
return productLineCode;
|
||
|
}
|
||
|
|
||
|
public void setIsFlag(Long isFlag) {
|
||
|
this.isFlag = isFlag;
|
||
|
}
|
||
|
|
||
|
public Long getIsFlag() {
|
||
|
return isFlag;
|
||
|
}
|
||
|
|
||
|
public void setCreatedBy(String createdBy) {
|
||
|
this.createdBy = createdBy;
|
||
|
}
|
||
|
|
||
|
public String getCreatedBy() {
|
||
|
return createdBy;
|
||
|
}
|
||
|
|
||
|
public void setCreatedTime(Date createdTime) {
|
||
|
this.createdTime = createdTime;
|
||
|
}
|
||
|
|
||
|
public Date getCreatedTime() {
|
||
|
return createdTime;
|
||
|
}
|
||
|
|
||
|
public void setUpdatedBy(String updatedBy) {
|
||
|
this.updatedBy = updatedBy;
|
||
|
}
|
||
|
|
||
|
public String getUpdatedBy() {
|
||
|
return updatedBy;
|
||
|
}
|
||
|
|
||
|
public void setUpdatedTime(Date updatedTime) {
|
||
|
this.updatedTime = updatedTime;
|
||
|
}
|
||
|
|
||
|
public Date getUpdatedTime() {
|
||
|
return updatedTime;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||
|
.append("objId", getObjId())
|
||
|
.append("deviceCode", getDeviceCode())
|
||
|
.append("deviceName", getDeviceName())
|
||
|
.append("deviceModel", getDeviceModel())
|
||
|
.append("deviceType", getDeviceType())
|
||
|
.append("deviceAddress", getDeviceAddress())
|
||
|
.append("deviceStatus", getDeviceStatus())
|
||
|
.append("usedDepartment", getUsedDepartment())
|
||
|
.append("productLineCode", getProductLineCode())
|
||
|
.append("isFlag", getIsFlag())
|
||
|
.append("createdBy", getCreatedBy())
|
||
|
.append("createdTime", getCreatedTime())
|
||
|
.append("updatedBy", getUpdatedBy())
|
||
|
.append("updatedTime", getUpdatedTime())
|
||
|
.toString();
|
||
|
}
|
||
|
}
|