|
|
@ -1,6 +1,8 @@ |
|
|
|
package com.ruoyi.warehouse.domain; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle; |
|
|
|
import com.ruoyi.common.annotation.Excel; |
|
|
@ -20,84 +22,92 @@ public class WarehouseInventoryReportDamageChild extends BaseEntity |
|
|
|
private Long reportDamageChildId; |
|
|
|
|
|
|
|
/** 关联生产单号 */ |
|
|
|
@Excel(name = "关联生产单号") |
|
|
|
@Excel(name = "关联生产单号", sort = 3) |
|
|
|
private String makeNo; |
|
|
|
|
|
|
|
/** 报损单号 */ |
|
|
|
@Excel(name = "报损单号") |
|
|
|
@Excel(name = "报损单号", sort = 1) |
|
|
|
private String reportDamageCode; |
|
|
|
|
|
|
|
/** 料号 */ |
|
|
|
@Excel(name = "料号") |
|
|
|
@Excel(name = "料号", sort = 4) |
|
|
|
private String materialNo; |
|
|
|
|
|
|
|
/** 图片 */ |
|
|
|
@Excel(name = "图片") |
|
|
|
// @Excel(name = "图片", sort = 5)
|
|
|
|
private String materialPhotourl; |
|
|
|
|
|
|
|
/** 物料名称 */ |
|
|
|
@Excel(name = "物料名称") |
|
|
|
@Excel(name = "物料名称", sort = 5) |
|
|
|
private String materialName; |
|
|
|
|
|
|
|
/** 物料类型 */ |
|
|
|
@Excel(name = "物料类型") |
|
|
|
// @Excel(name = "物料类型", sort = 6, dictType = "materialType")
|
|
|
|
private String materialType; |
|
|
|
|
|
|
|
/** 描述 */ |
|
|
|
@Excel(name = "描述") |
|
|
|
// @Excel(name = "描述", sort = 7)
|
|
|
|
private String materialDescribe; |
|
|
|
|
|
|
|
/** 品牌 */ |
|
|
|
@Excel(name = "品牌") |
|
|
|
// @Excel(name = "品牌", sort = 8)
|
|
|
|
private String materialBrand; |
|
|
|
|
|
|
|
// 单位
|
|
|
|
@Excel(name = "单位", sort = 7) |
|
|
|
private String materialUnit; |
|
|
|
|
|
|
|
/** 实际报废数量 */ |
|
|
|
@Excel(name = "实际报废数量") |
|
|
|
@Excel(name = "实际报废数量", sort = 6) |
|
|
|
private BigDecimal actualScrapQuantity; |
|
|
|
|
|
|
|
/** 报废类型 */ |
|
|
|
@Excel(name = "报废类型") |
|
|
|
@Excel(name = "报废类型", sort = 8) |
|
|
|
private String scrapType; |
|
|
|
|
|
|
|
/** 报废明细 */ |
|
|
|
@Excel(name = "报废明细") |
|
|
|
@Excel(name = "报废明细", sort = 9) |
|
|
|
private String scrapDetail; |
|
|
|
|
|
|
|
/** 品质判定 */ |
|
|
|
@Excel(name = "品质判定") |
|
|
|
@Excel(name = "品质判定", sort = 10) |
|
|
|
private String qualityAssessment; |
|
|
|
|
|
|
|
/** 预估价值(RMB) */ |
|
|
|
@Excel(name = "预估价值(RMB)") |
|
|
|
@Excel(name = "预估价值(RMB)", sort = 11) |
|
|
|
private BigDecimal estimatedValueRmb; |
|
|
|
|
|
|
|
/** 报废日期 */ |
|
|
|
@Excel(name = "报废日期", sort = 12,dateFormat = "yyyy-MM-dd") |
|
|
|
private Date scrapDate; |
|
|
|
|
|
|
|
/** 责任单位 */ |
|
|
|
@Excel(name = "责任单位") |
|
|
|
@Excel(name = "责任单位", sort = 13) |
|
|
|
private String responsibleUnit; |
|
|
|
|
|
|
|
/** 仓库ID */ |
|
|
|
@Excel(name = "仓库ID") |
|
|
|
@Excel(name = "仓库ID", sort = 14) |
|
|
|
private String warehouseCode; |
|
|
|
|
|
|
|
/** 仓库名称 */ |
|
|
|
@Excel(name = "仓库名称") |
|
|
|
@Excel(name = "仓库名称", sort = 15) |
|
|
|
private String warehouseName; |
|
|
|
|
|
|
|
/** 仓库存放地址 */ |
|
|
|
@Excel(name = "仓库存放地址") |
|
|
|
@Excel(name = "仓库存放地址", sort = 16) |
|
|
|
private String warehouseStoreAddress; |
|
|
|
|
|
|
|
/** 申请部门ID */ |
|
|
|
@Excel(name = "申请部门ID") |
|
|
|
// @Excel(name = "申请部门ID")
|
|
|
|
private String applyDeptId; |
|
|
|
|
|
|
|
/** 申请部门 */ |
|
|
|
@Excel(name = "申请部门") |
|
|
|
@Excel(name = "申请部门", sort = 2) |
|
|
|
private String applyDept; |
|
|
|
|
|
|
|
// 备注
|
|
|
|
@Excel(name = "备注", sort = 17) |
|
|
|
private String remark; |
|
|
|
public void setReportDamageChildId(Long reportDamageChildId) |
|
|
|
{ |
|
|
|
this.reportDamageChildId = reportDamageChildId; |
|
|
@ -287,6 +297,24 @@ public class WarehouseInventoryReportDamageChild extends BaseEntity |
|
|
|
this.materialUnit = materialUnit; |
|
|
|
} |
|
|
|
|
|
|
|
public Date getScrapDate() { |
|
|
|
return scrapDate; |
|
|
|
} |
|
|
|
|
|
|
|
public void setScrapDate(Date scrapDate) { |
|
|
|
this.scrapDate = scrapDate; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getRemark() { |
|
|
|
return remark; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void setRemark(String remark) { |
|
|
|
this.remark = remark; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
|
|