package com.qianwen.smartman.modules.smis.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class UpdateCommonGroupVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
private Long id;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("父主键")
|
private Long parentId;
|
@ApiModelProperty("组全称")
|
private String fullName;
|
@ApiModelProperty("组编码")
|
private String code;
|
@ApiModelProperty("组名")
|
private String name;
|
@ApiModelProperty("组别")
|
private String groupType;
|
@ApiModelProperty("组子类")
|
private Integer groupCategory;
|
@ApiModelProperty("组标签")
|
private String groupTag;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("业务状态 1启用 0 停用")
|
private Integer status;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setFullName(final String fullName) {
|
this.fullName = fullName;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setGroupType(final String groupType) {
|
this.groupType = groupType;
|
}
|
|
public void setGroupCategory(final Integer groupCategory) {
|
this.groupCategory = groupCategory;
|
}
|
|
public void setGroupTag(final String groupTag) {
|
this.groupTag = groupTag;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public String toString() {
|
return "UpdateCommonGroupVO(id=" + getId() + ", parentId=" + getParentId() + ", fullName=" + getFullName() + ", code=" + getCode() + ", name=" + getName() + ", groupType=" + getGroupType() + ", groupCategory=" + getGroupCategory() + ", groupTag=" + getGroupTag() + ", sort=" + getSort() + ", remark=" + getRemark() + ", status=" + getStatus() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof UpdateCommonGroupVO) {
|
UpdateCommonGroupVO other = (UpdateCommonGroupVO) 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$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
return false;
|
}
|
Object this$groupCategory = getGroupCategory();
|
Object other$groupCategory = other.getGroupCategory();
|
if (this$groupCategory == null) {
|
if (other$groupCategory != null) {
|
return false;
|
}
|
} else if (!this$groupCategory.equals(other$groupCategory)) {
|
return false;
|
}
|
Object this$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
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$fullName = getFullName();
|
Object other$fullName = other.getFullName();
|
if (this$fullName == null) {
|
if (other$fullName != null) {
|
return false;
|
}
|
} else if (!this$fullName.equals(other$fullName)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
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$groupType = getGroupType();
|
Object other$groupType = other.getGroupType();
|
if (this$groupType == null) {
|
if (other$groupType != null) {
|
return false;
|
}
|
} else if (!this$groupType.equals(other$groupType)) {
|
return false;
|
}
|
Object this$groupTag = getGroupTag();
|
Object other$groupTag = other.getGroupTag();
|
if (this$groupTag == null) {
|
if (other$groupTag != null) {
|
return false;
|
}
|
} else if (!this$groupTag.equals(other$groupTag)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UpdateCommonGroupVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $parentId = getParentId();
|
int result2 = (result * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $groupCategory = getGroupCategory();
|
int result3 = (result2 * 59) + ($groupCategory == null ? 43 : $groupCategory.hashCode());
|
Object $sort = getSort();
|
int result4 = (result3 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $status = getStatus();
|
int result5 = (result4 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $fullName = getFullName();
|
int result6 = (result5 * 59) + ($fullName == null ? 43 : $fullName.hashCode());
|
Object $code = getCode();
|
int result7 = (result6 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result8 = (result7 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $groupType = getGroupType();
|
int result9 = (result8 * 59) + ($groupType == null ? 43 : $groupType.hashCode());
|
Object $groupTag = getGroupTag();
|
int result10 = (result9 * 59) + ($groupTag == null ? 43 : $groupTag.hashCode());
|
Object $remark = getRemark();
|
return (result10 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public String getFullName() {
|
return this.fullName;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getGroupType() {
|
return this.groupType;
|
}
|
|
public Integer getGroupCategory() {
|
return this.groupCategory;
|
}
|
|
public String getGroupTag() {
|
return this.groupTag;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|