package com.qianwen.smartman.modules.trace.vo; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import javax.validation.constraints.Size; import com.qianwen.smartman.common.constant.DateConstant; import org.springframework.format.annotation.DateTimeFormat; @ApiModel(value = "NgReasonInfoVo对象", description = "NG原因维护信息表") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/NgReasonInfoVO.class */ public class NgReasonInfoVO implements Serializable { @ApiModelProperty("租户ID") @Size(max = 12, message = "租户ID长度不能超过12") private String tenantId; @ApiModelProperty("原因编号") @Size(max = 255, message = "原因编号长度不能超过255") private String reasonCode; @ApiModelProperty("原因名称") @Size(max = 64, message = "原因名称长度不能超过64") private String reasonName; @ApiModelProperty("备注") @Size(max = 255, message = "备注长度不能超过255") private String remark; @ApiModelProperty(value = "id", dataType = "java.lang.String") private Long id; @ApiModelProperty("业务状态") private Integer status; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "ng类型id", dataType = "java.lang.String") private Long typeId; @ApiModelProperty("ng类型名称") private String groupName; @ApiModelProperty("创建人") private String username; @ApiModelProperty(value = "创建人", dataType = "java.lang.String") private Long createUser; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME1) @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME1) @ApiModelProperty("创建时间") private Date createTime; public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setReasonCode(final String reasonCode) { this.reasonCode = reasonCode; } public void setReasonName(final String reasonName) { this.reasonName = reasonName; } public void setRemark(final String remark) { this.remark = remark; } public void setId(final Long id) { this.id = id; } public void setStatus(final Integer status) { this.status = status; } public void setTypeId(final Long typeId) { this.typeId = typeId; } public void setGroupName(final String groupName) { this.groupName = groupName; } public void setUsername(final String username) { this.username = username; } public void setCreateUser(final Long createUser) { this.createUser = createUser; } @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME1) public void setCreateTime(final Date createTime) { this.createTime = createTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof NgReasonInfoVO) { NgReasonInfoVO other = (NgReasonInfoVO) 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$status = getStatus(); Object other$status = other.getStatus(); if (this$status == null) { if (other$status != null) { return false; } } else if (!this$status.equals(other$status)) { return false; } Object this$typeId = getTypeId(); Object other$typeId = other.getTypeId(); if (this$typeId == null) { if (other$typeId != null) { return false; } } else if (!this$typeId.equals(other$typeId)) { 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$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { return false; } Object this$reasonCode = getReasonCode(); Object other$reasonCode = other.getReasonCode(); if (this$reasonCode == null) { if (other$reasonCode != null) { return false; } } else if (!this$reasonCode.equals(other$reasonCode)) { return false; } Object this$reasonName = getReasonName(); Object other$reasonName = other.getReasonName(); if (this$reasonName == null) { if (other$reasonName != null) { return false; } } else if (!this$reasonName.equals(other$reasonName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { 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$username = getUsername(); Object other$username = other.getUsername(); if (this$username == null) { if (other$username != null) { return false; } } else if (!this$username.equals(other$username)) { return false; } Object this$createTime = getCreateTime(); Object other$createTime = other.getCreateTime(); return this$createTime == null ? other$createTime == null : this$createTime.equals(other$createTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof NgReasonInfoVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $status = getStatus(); int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode()); Object $typeId = getTypeId(); int result3 = (result2 * 59) + ($typeId == null ? 43 : $typeId.hashCode()); Object $createUser = getCreateUser(); int result4 = (result3 * 59) + ($createUser == null ? 43 : $createUser.hashCode()); Object $tenantId = getTenantId(); int result5 = (result4 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $reasonCode = getReasonCode(); int result6 = (result5 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode()); Object $reasonName = getReasonName(); int result7 = (result6 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode()); Object $remark = getRemark(); int result8 = (result7 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $groupName = getGroupName(); int result9 = (result8 * 59) + ($groupName == null ? 43 : $groupName.hashCode()); Object $username = getUsername(); int result10 = (result9 * 59) + ($username == null ? 43 : $username.hashCode()); Object $createTime = getCreateTime(); return (result10 * 59) + ($createTime == null ? 43 : $createTime.hashCode()); } public String toString() { return "NgReasonInfoVO(tenantId=" + getTenantId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", remark=" + getRemark() + ", id=" + getId() + ", status=" + getStatus() + ", typeId=" + getTypeId() + ", groupName=" + getGroupName() + ", username=" + getUsername() + ", createUser=" + getCreateUser() + ", createTime=" + getCreateTime() + ")"; } public String getTenantId() { return this.tenantId; } public String getReasonCode() { return this.reasonCode; } public String getReasonName() { return this.reasonName; } public String getRemark() { return this.remark; } public Long getId() { return this.id; } public Integer getStatus() { return this.status; } public Long getTypeId() { return this.typeId; } public String getGroupName() { return this.groupName; } public String getUsername() { return this.username; } public Long getCreateUser() { return this.createUser; } public Date getCreateTime() { return this.createTime; } }