package com.qianwen.smartman.modules.cps.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import java.util.List;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
import com.qianwen.smartman.modules.cps.entity.ProductionCraftProcess;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/CraftVersionLineVO.class */
|
public class CraftVersionLineVO {
|
@ApiModelProperty("主键id")
|
private Long id;
|
@ApiModelProperty("版本名称")
|
private String name;
|
@ApiModelProperty("版本描述")
|
private String description;
|
@ApiModelProperty("是否定版")
|
private Integer editionStatus;
|
@ApiModelProperty("创建人")
|
private String createUser;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("创建时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date createTime;
|
@ApiModelProperty("修改人")
|
private String updateUser;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("修改时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date updateTime;
|
@ApiModelProperty("工艺路线id")
|
private Long craftId;
|
@ApiModelProperty("产线id")
|
private String groupId;
|
@ApiModelProperty("产线编号")
|
private String groupCode;
|
@ApiModelProperty("产线名称")
|
private String groupName;
|
@ApiModelProperty("工序信息")
|
List<ProductionCraftProcess> processList;
|
|
public CraftVersionLineVO setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public CraftVersionLineVO setName(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public CraftVersionLineVO setDescription(final String description) {
|
this.description = description;
|
return this;
|
}
|
|
public CraftVersionLineVO setEditionStatus(final Integer editionStatus) {
|
this.editionStatus = editionStatus;
|
return this;
|
}
|
|
public CraftVersionLineVO setCreateUser(final String createUser) {
|
this.createUser = createUser;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public CraftVersionLineVO setCreateTime(final Date createTime) {
|
this.createTime = createTime;
|
return this;
|
}
|
|
public CraftVersionLineVO setUpdateUser(final String updateUser) {
|
this.updateUser = updateUser;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public CraftVersionLineVO setUpdateTime(final Date updateTime) {
|
this.updateTime = updateTime;
|
return this;
|
}
|
|
public CraftVersionLineVO setCraftId(final Long craftId) {
|
this.craftId = craftId;
|
return this;
|
}
|
|
public CraftVersionLineVO setGroupId(final String groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public CraftVersionLineVO setGroupCode(final String groupCode) {
|
this.groupCode = groupCode;
|
return this;
|
}
|
|
public CraftVersionLineVO setGroupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public CraftVersionLineVO setProcessList(final List<ProductionCraftProcess> processList) {
|
this.processList = processList;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CraftVersionLineVO) {
|
CraftVersionLineVO other = (CraftVersionLineVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$editionStatus = getEditionStatus();
|
Object other$editionStatus = other.getEditionStatus();
|
if (this$editionStatus == null) {
|
if (other$editionStatus != null) {
|
return false;
|
}
|
} else if (!this$editionStatus.equals(other$editionStatus)) {
|
return false;
|
}
|
Object this$craftId = getCraftId();
|
Object other$craftId = other.getCraftId();
|
if (this$craftId == null) {
|
if (other$craftId != null) {
|
return false;
|
}
|
} else if (!this$craftId.equals(other$craftId)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
if (this$description == null) {
|
if (other$description != null) {
|
return false;
|
}
|
} else if (!this$description.equals(other$description)) {
|
return false;
|
}
|
Object this$createUser = getCreateUser();
|
Object other$createUser = other.getCreateUser();
|
if (this$createUser == null) {
|
if (other$createUser != null) {
|
return false;
|
}
|
} else if (!this$createUser.equals(other$createUser)) {
|
return false;
|
}
|
Object this$createTime = getCreateTime();
|
Object other$createTime = other.getCreateTime();
|
if (this$createTime == null) {
|
if (other$createTime != null) {
|
return false;
|
}
|
} else if (!this$createTime.equals(other$createTime)) {
|
return false;
|
}
|
Object this$updateUser = getUpdateUser();
|
Object other$updateUser = other.getUpdateUser();
|
if (this$updateUser == null) {
|
if (other$updateUser != null) {
|
return false;
|
}
|
} else if (!this$updateUser.equals(other$updateUser)) {
|
return false;
|
}
|
Object this$updateTime = getUpdateTime();
|
Object other$updateTime = other.getUpdateTime();
|
if (this$updateTime == null) {
|
if (other$updateTime != null) {
|
return false;
|
}
|
} else if (!this$updateTime.equals(other$updateTime)) {
|
return false;
|
}
|
Object this$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
if (this$groupId == null) {
|
if (other$groupId != null) {
|
return false;
|
}
|
} else if (!this$groupId.equals(other$groupId)) {
|
return false;
|
}
|
Object this$groupCode = getGroupCode();
|
Object other$groupCode = other.getGroupCode();
|
if (this$groupCode == null) {
|
if (other$groupCode != null) {
|
return false;
|
}
|
} else if (!this$groupCode.equals(other$groupCode)) {
|
return false;
|
}
|
Object this$groupName = getGroupName();
|
Object other$groupName = other.getGroupName();
|
if (this$groupName == null) {
|
if (other$groupName != null) {
|
return false;
|
}
|
} else if (!this$groupName.equals(other$groupName)) {
|
return false;
|
}
|
Object this$processList = getProcessList();
|
Object other$processList = other.getProcessList();
|
return this$processList == null ? other$processList == null : this$processList.equals(other$processList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CraftVersionLineVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $editionStatus = getEditionStatus();
|
int result2 = (result * 59) + ($editionStatus == null ? 43 : $editionStatus.hashCode());
|
Object $craftId = getCraftId();
|
int result3 = (result2 * 59) + ($craftId == null ? 43 : $craftId.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $description = getDescription();
|
int result5 = (result4 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $createUser = getCreateUser();
|
int result6 = (result5 * 59) + ($createUser == null ? 43 : $createUser.hashCode());
|
Object $createTime = getCreateTime();
|
int result7 = (result6 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
|
Object $updateUser = getUpdateUser();
|
int result8 = (result7 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode());
|
Object $updateTime = getUpdateTime();
|
int result9 = (result8 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
|
Object $groupId = getGroupId();
|
int result10 = (result9 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $groupCode = getGroupCode();
|
int result11 = (result10 * 59) + ($groupCode == null ? 43 : $groupCode.hashCode());
|
Object $groupName = getGroupName();
|
int result12 = (result11 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $processList = getProcessList();
|
return (result12 * 59) + ($processList == null ? 43 : $processList.hashCode());
|
}
|
|
public String toString() {
|
return "CraftVersionLineVO(id=" + getId() + ", name=" + getName() + ", description=" + getDescription() + ", editionStatus=" + getEditionStatus() + ", createUser=" + getCreateUser() + ", createTime=" + getCreateTime() + ", updateUser=" + getUpdateUser() + ", updateTime=" + getUpdateTime() + ", craftId=" + getCraftId() + ", groupId=" + getGroupId() + ", groupCode=" + getGroupCode() + ", groupName=" + getGroupName() + ", processList=" + getProcessList() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public Integer getEditionStatus() {
|
return this.editionStatus;
|
}
|
|
public String getCreateUser() {
|
return this.createUser;
|
}
|
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public String getUpdateUser() {
|
return this.updateUser;
|
}
|
|
public Date getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public Long getCraftId() {
|
return this.craftId;
|
}
|
|
public String getGroupId() {
|
return this.groupId;
|
}
|
|
public String getGroupCode() {
|
return this.groupCode;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public List<ProductionCraftProcess> getProcessList() {
|
return this.processList;
|
}
|
}
|