You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
418 lines
12 KiB
418 lines
12 KiB
package com.hfkj.entity;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* en_oil_management
|
|
* @author
|
|
*/
|
|
/**
|
|
*
|
|
* 代码由工具生成
|
|
*
|
|
**/
|
|
public class EnOilManagement implements Serializable {
|
|
/**
|
|
* 主键
|
|
*/
|
|
private Long id;
|
|
|
|
/**
|
|
* 油库ID
|
|
*/
|
|
private Long oilDepotsId;
|
|
|
|
/**
|
|
* 类型1:出库 2:入库
|
|
*/
|
|
private Integer type;
|
|
|
|
/**
|
|
* 运输车辆ID
|
|
*/
|
|
private Long transportCarId;
|
|
|
|
/**
|
|
* 运输车辆车牌号
|
|
*/
|
|
private String transportCarNo;
|
|
|
|
/**
|
|
* 油品类型:1柴油 2:汽油
|
|
*/
|
|
private Integer oilType;
|
|
|
|
/**
|
|
* 供货商名称
|
|
*/
|
|
private String supplier;
|
|
|
|
/**
|
|
* 数量
|
|
*/
|
|
private BigDecimal num;
|
|
|
|
/**
|
|
* 变更前数量
|
|
*/
|
|
private BigDecimal beforeNum;
|
|
|
|
/**
|
|
* 变更后数量
|
|
*/
|
|
private BigDecimal changeNum;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
private String remark;
|
|
|
|
/**
|
|
* 相关数据照片
|
|
*/
|
|
private String img;
|
|
|
|
/**
|
|
* 签名图片
|
|
*/
|
|
private String signImg;
|
|
|
|
/**
|
|
* 状态
|
|
*/
|
|
private Integer status;
|
|
|
|
/**
|
|
* 创建人
|
|
*/
|
|
private Long createUser;
|
|
|
|
/**
|
|
* 创建人名称
|
|
*/
|
|
private String createUserName;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private Long updateUser;
|
|
|
|
/**
|
|
* 更新人名称
|
|
*/
|
|
private String updateUserName;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private Date updateTime;
|
|
|
|
/**
|
|
* ext_1
|
|
*/
|
|
private String ext1;
|
|
|
|
/**
|
|
* ext_2
|
|
*/
|
|
private String ext2;
|
|
|
|
/**
|
|
* ext_3
|
|
*/
|
|
private String ext3;
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getOilDepotsId() {
|
|
return oilDepotsId;
|
|
}
|
|
|
|
public void setOilDepotsId(Long oilDepotsId) {
|
|
this.oilDepotsId = oilDepotsId;
|
|
}
|
|
|
|
public Integer getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(Integer type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public Long getTransportCarId() {
|
|
return transportCarId;
|
|
}
|
|
|
|
public void setTransportCarId(Long transportCarId) {
|
|
this.transportCarId = transportCarId;
|
|
}
|
|
|
|
public String getTransportCarNo() {
|
|
return transportCarNo;
|
|
}
|
|
|
|
public void setTransportCarNo(String transportCarNo) {
|
|
this.transportCarNo = transportCarNo;
|
|
}
|
|
|
|
public Integer getOilType() {
|
|
return oilType;
|
|
}
|
|
|
|
public void setOilType(Integer oilType) {
|
|
this.oilType = oilType;
|
|
}
|
|
|
|
public String getSupplier() {
|
|
return supplier;
|
|
}
|
|
|
|
public void setSupplier(String supplier) {
|
|
this.supplier = supplier;
|
|
}
|
|
|
|
public BigDecimal getNum() {
|
|
return num;
|
|
}
|
|
|
|
public void setNum(BigDecimal num) {
|
|
this.num = num;
|
|
}
|
|
|
|
public BigDecimal getBeforeNum() {
|
|
return beforeNum;
|
|
}
|
|
|
|
public void setBeforeNum(BigDecimal beforeNum) {
|
|
this.beforeNum = beforeNum;
|
|
}
|
|
|
|
public BigDecimal getChangeNum() {
|
|
return changeNum;
|
|
}
|
|
|
|
public void setChangeNum(BigDecimal changeNum) {
|
|
this.changeNum = changeNum;
|
|
}
|
|
|
|
public String getRemark() {
|
|
return remark;
|
|
}
|
|
|
|
public void setRemark(String remark) {
|
|
this.remark = remark;
|
|
}
|
|
|
|
public String getImg() {
|
|
return img;
|
|
}
|
|
|
|
public void setImg(String img) {
|
|
this.img = img;
|
|
}
|
|
|
|
public String getSignImg() {
|
|
return signImg;
|
|
}
|
|
|
|
public void setSignImg(String signImg) {
|
|
this.signImg = signImg;
|
|
}
|
|
|
|
public Integer getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(Integer status) {
|
|
this.status = status;
|
|
}
|
|
|
|
public Long getCreateUser() {
|
|
return createUser;
|
|
}
|
|
|
|
public void setCreateUser(Long createUser) {
|
|
this.createUser = createUser;
|
|
}
|
|
|
|
public String getCreateUserName() {
|
|
return createUserName;
|
|
}
|
|
|
|
public void setCreateUserName(String createUserName) {
|
|
this.createUserName = createUserName;
|
|
}
|
|
|
|
public Date getCreateTime() {
|
|
return createTime;
|
|
}
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Long getUpdateUser() {
|
|
return updateUser;
|
|
}
|
|
|
|
public void setUpdateUser(Long updateUser) {
|
|
this.updateUser = updateUser;
|
|
}
|
|
|
|
public String getUpdateUserName() {
|
|
return updateUserName;
|
|
}
|
|
|
|
public void setUpdateUserName(String updateUserName) {
|
|
this.updateUserName = updateUserName;
|
|
}
|
|
|
|
public Date getUpdateTime() {
|
|
return updateTime;
|
|
}
|
|
|
|
public void setUpdateTime(Date updateTime) {
|
|
this.updateTime = updateTime;
|
|
}
|
|
|
|
public String getExt1() {
|
|
return ext1;
|
|
}
|
|
|
|
public void setExt1(String ext1) {
|
|
this.ext1 = ext1;
|
|
}
|
|
|
|
public String getExt2() {
|
|
return ext2;
|
|
}
|
|
|
|
public void setExt2(String ext2) {
|
|
this.ext2 = ext2;
|
|
}
|
|
|
|
public String getExt3() {
|
|
return ext3;
|
|
}
|
|
|
|
public void setExt3(String ext3) {
|
|
this.ext3 = ext3;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object that) {
|
|
if (this == that) {
|
|
return true;
|
|
}
|
|
if (that == null) {
|
|
return false;
|
|
}
|
|
if (getClass() != that.getClass()) {
|
|
return false;
|
|
}
|
|
EnOilManagement other = (EnOilManagement) that;
|
|
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
&& (this.getOilDepotsId() == null ? other.getOilDepotsId() == null : this.getOilDepotsId().equals(other.getOilDepotsId()))
|
|
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
|
|
&& (this.getTransportCarId() == null ? other.getTransportCarId() == null : this.getTransportCarId().equals(other.getTransportCarId()))
|
|
&& (this.getTransportCarNo() == null ? other.getTransportCarNo() == null : this.getTransportCarNo().equals(other.getTransportCarNo()))
|
|
&& (this.getOilType() == null ? other.getOilType() == null : this.getOilType().equals(other.getOilType()))
|
|
&& (this.getSupplier() == null ? other.getSupplier() == null : this.getSupplier().equals(other.getSupplier()))
|
|
&& (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
|
|
&& (this.getBeforeNum() == null ? other.getBeforeNum() == null : this.getBeforeNum().equals(other.getBeforeNum()))
|
|
&& (this.getChangeNum() == null ? other.getChangeNum() == null : this.getChangeNum().equals(other.getChangeNum()))
|
|
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
|
|
&& (this.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg()))
|
|
&& (this.getSignImg() == null ? other.getSignImg() == null : this.getSignImg().equals(other.getSignImg()))
|
|
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
|
|
&& (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
|
|
&& (this.getCreateUserName() == null ? other.getCreateUserName() == null : this.getCreateUserName().equals(other.getCreateUserName()))
|
|
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
|
&& (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()))
|
|
&& (this.getUpdateUserName() == null ? other.getUpdateUserName() == null : this.getUpdateUserName().equals(other.getUpdateUserName()))
|
|
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
|
|
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
|
|
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
|
|
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()));
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
final int prime = 31;
|
|
int result = 1;
|
|
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
result = prime * result + ((getOilDepotsId() == null) ? 0 : getOilDepotsId().hashCode());
|
|
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
|
|
result = prime * result + ((getTransportCarId() == null) ? 0 : getTransportCarId().hashCode());
|
|
result = prime * result + ((getTransportCarNo() == null) ? 0 : getTransportCarNo().hashCode());
|
|
result = prime * result + ((getOilType() == null) ? 0 : getOilType().hashCode());
|
|
result = prime * result + ((getSupplier() == null) ? 0 : getSupplier().hashCode());
|
|
result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
|
|
result = prime * result + ((getBeforeNum() == null) ? 0 : getBeforeNum().hashCode());
|
|
result = prime * result + ((getChangeNum() == null) ? 0 : getChangeNum().hashCode());
|
|
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
|
|
result = prime * result + ((getImg() == null) ? 0 : getImg().hashCode());
|
|
result = prime * result + ((getSignImg() == null) ? 0 : getSignImg().hashCode());
|
|
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
|
|
result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
|
|
result = prime * result + ((getCreateUserName() == null) ? 0 : getCreateUserName().hashCode());
|
|
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
|
result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
|
|
result = prime * result + ((getUpdateUserName() == null) ? 0 : getUpdateUserName().hashCode());
|
|
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
|
|
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
|
|
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
|
|
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
|
|
return result;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(getClass().getSimpleName());
|
|
sb.append(" [");
|
|
sb.append("Hash = ").append(hashCode());
|
|
sb.append(", id=").append(id);
|
|
sb.append(", oilDepotsId=").append(oilDepotsId);
|
|
sb.append(", type=").append(type);
|
|
sb.append(", transportCarId=").append(transportCarId);
|
|
sb.append(", transportCarNo=").append(transportCarNo);
|
|
sb.append(", oilType=").append(oilType);
|
|
sb.append(", supplier=").append(supplier);
|
|
sb.append(", num=").append(num);
|
|
sb.append(", beforeNum=").append(beforeNum);
|
|
sb.append(", changeNum=").append(changeNum);
|
|
sb.append(", remark=").append(remark);
|
|
sb.append(", img=").append(img);
|
|
sb.append(", signImg=").append(signImg);
|
|
sb.append(", status=").append(status);
|
|
sb.append(", createUser=").append(createUser);
|
|
sb.append(", createUserName=").append(createUserName);
|
|
sb.append(", createTime=").append(createTime);
|
|
sb.append(", updateUser=").append(updateUser);
|
|
sb.append(", updateUserName=").append(updateUserName);
|
|
sb.append(", updateTime=").append(updateTime);
|
|
sb.append(", ext1=").append(ext1);
|
|
sb.append(", ext2=").append(ext2);
|
|
sb.append(", ext3=").append(ext3);
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
sb.append("]");
|
|
return sb.toString();
|
|
}
|
|
} |