package com.zc.business.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.ruoyi.common.annotation.Excel; /** * @Description 中间库设备数据 * * @author liuwenge * @date 2024/2/20 17:30 */ public class MdDeviceData { /** 主键 */ private Long id; /** 设备编号 */ @Excel(name = "设备编号") private String devNo; /** 设备类型 */ @Excel(name = "设备类型") private String devType; /** 时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date timeStamp; /** 自定义字段 */ @Excel(name = "自定义字段") private String expands; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date creationTime; /** 创建人 */ @Excel(name = "创建人") private String creatorUserId; /** 最后修改时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date lastModificationTime; /** 最后修改人 */ @Excel(name = "最后修改人") private Long lastModifierUserId; /** 是否删除 */ @Excel(name = "是否删除") private Integer isDeleted; /** 删除人 */ @Excel(name = "删除人") private Long deleterUserId; /** 删除时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date deletionTime; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setDevNo(String devNo) { this.devNo = devNo; } public String getDevNo() { return devNo; } public String getDevType() { return devType; } public void setDevType(String devType) { this.devType = devType; } public void setTimeStamp(Date timeStamp) { this.timeStamp = timeStamp; } public Date getTimeStamp() { return timeStamp; } public void setExpands(String expands) { this.expands = expands; } public String getExpands() { return expands; } public void setCreationTime(Date creationTime) { this.creationTime = creationTime; } public Date getCreationTime() { return creationTime; } public void setCreatorUserId(String creatorUserId) { this.creatorUserId = creatorUserId; } public String getCreatorUserId() { return creatorUserId; } public void setLastModificationTime(Date lastModificationTime) { this.lastModificationTime = lastModificationTime; } public Date getLastModificationTime() { return lastModificationTime; } public void setLastModifierUserId(Long lastModifierUserId) { this.lastModifierUserId = lastModifierUserId; } public Long getLastModifierUserId() { return lastModifierUserId; } public void setIsDeleted(Integer isDeleted) { this.isDeleted = isDeleted; } public Integer getIsDeleted() { return isDeleted; } public void setDeleterUserId(Long deleterUserId) { this.deleterUserId = deleterUserId; } public Long getDeleterUserId() { return deleterUserId; } public void setDeletionTime(Date deletionTime) { this.deletionTime = deletionTime; } public Date getDeletionTime() { return deletionTime; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("devNo", getDevNo()) .append("timeStamp", getTimeStamp()) .append("expands", getExpands()) .append("creationTime", getCreationTime()) .append("creatorUserId", getCreatorUserId()) .append("lastModificationTime", getLastModificationTime()) .append("lastModifierUserId", getLastModifierUserId()) .append("isDeleted", getIsDeleted()) .append("deleterUserId", getDeleterUserId()) .append("deletionTime", getDeletionTime()) .toString(); } }