重庆 配件管理 excel导入bug修改

This commit is contained in:
76164 2024-08-08 10:28:53 +08:00
parent c4e57176ab
commit e908818197
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
package com.bonus.sgzb.base.domain;
import com.bonus.sgzb.common.core.annotation.Excel;
import com.bonus.sgzb.common.core.web.domain.BaseEntity;
import lombok.Data;
import java.util.Objects;
/**
* 配件类型管理ma_part_type(MaPartType)表实体类
*
* @author makejava
* @since 2023-11-27 16:44:09
*/
@SuppressWarnings("serial")
@Data
public class MapType extends BaseEntity {
//类型名称
@Excel(name = "类型名称")
private String paName;
//计量单位ID
@Excel(name = "计量单位ID")
private String unitId;
//原值
@Excel(name = "原值")
private String buyPrice;
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
MapType mapType = (MapType) o;
return Objects.equals(paName, mapType.paName) &&
Objects.equals(unitId, mapType.unitId) &&
Objects.equals(buyPrice, mapType.buyPrice);
}
@Override
public int hashCode() {
return Objects.hash(paName, unitId, buyPrice);
}
}