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.

275 lines
6.1 KiB
Java

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 String deviceType;
/**
*
*/
@Excel(name = "设备位置")
private String deviceAddress;
/**
*
*/
@Excel(name = "设备状态")
private Long deviceStatus;
/**
* 使
*/
@Excel(name = "使用部门")
private String usedDepartment;
/** 成本中心 */
@Excel(name = "成本中心")
private String costCenter;
/** 生产厂商 */
@Excel(name = "生产厂商")
private String manufacturer;
/** 启用日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "启用日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date enableDate;
/**
*
*/
@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 String getCostCenter() {
return costCenter;
}
public void setCostCenter(String costCenter) {
this.costCenter = costCenter;
}
public String getManufacturer() {
return manufacturer;
}
public void setManufacturer(String manufacturer) {
this.manufacturer = manufacturer;
}
public Date getEnableDate() {
return enableDate;
}
public void setEnableDate(Date enableDate) {
this.enableDate = enableDate;
}
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(String deviceType) {
this.deviceType = deviceType;
}
public String 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();
}
}