Browse Source

[fix]

工程管理 产品型号管理
修改产品型号实体类,使导出表格信息完整,与列表显示保持一致
dev
王晓迪 4 months ago
parent
commit
02d9f098c8
  1. 69
      ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysProductModel.java

69
ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysProductModel.java

@ -1,10 +1,14 @@
package com.ruoyi.system.domain;
import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 产品型号管理对象 sys_product_model
*
@ -22,6 +26,10 @@ public class SysProductModel extends BaseEntity
@Excel(name = "产品型号ID")
private String pcode;
/** 工程员 */
@Excel(name = "工程员")
private String engineer;
/** 设备型号 */
@Excel(name = "设备型号")
private String equipModel;
@ -38,14 +46,27 @@ public class SysProductModel extends BaseEntity
@Excel(name = "差异说明")
private String differences;
@Excel(name = "工程员")
private String engineer;
/** 备注 */
@Excel(name = "备注")
private String remark;
/** 录入时间 */
@Excel(name = "录入时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/** 更新人 */
@Excel(name = "更新人")
private String updateBy;
/** 上次更新时间 */
@Excel(name = "上次更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
@Excel(name = "使用状态")
private String useStatus;
/** 图片地址 */
private Long photoAttachId;
/** 照片 */
private String photoUrl;
@ -158,6 +179,46 @@ public class SysProductModel extends BaseEntity
this.removeFileIdStr = removeFileIdStr;
}
@Override
public String getRemark() {
return remark;
}
@Override
public void setRemark(String remark) {
this.remark = remark;
}
@Override
public Date getCreateTime() {
return createTime;
}
@Override
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
@Override
public String getUpdateBy() {
return updateBy;
}
@Override
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
@Override
public Date getUpdateTime() {
return updateTime;
}
@Override
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

Loading…
Cancel
Save