package com.qianwen.smartman.modules.mdc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
public class CountStatusDTO {
|
@ApiModelProperty("状态数量")
|
private Long count;
|
@ApiModelProperty("状态name")
|
private String statusName;
|
@ApiModelProperty("code码")
|
private String code;
|
|
|
public static class CountStatusDTOBuilder {
|
private Long count;
|
private String statusName;
|
private String code;
|
|
CountStatusDTOBuilder() {
|
}
|
|
public CountStatusDTOBuilder count(final Long count) {
|
this.count = count;
|
return this;
|
}
|
|
public CountStatusDTOBuilder statusName(final String statusName) {
|
this.statusName = statusName;
|
return this;
|
}
|
|
public CountStatusDTOBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public CountStatusDTO build() {
|
return new CountStatusDTO(this.count, this.statusName, this.code);
|
}
|
|
public String toString() {
|
return "CountStatusDTO.CountStatusDTOBuilder(count=" + this.count + ", statusName=" + this.statusName + ", code=" + this.code + ")";
|
}
|
}
|
|
public void setCount(final Long count) {
|
this.count = count;
|
}
|
|
public void setStatusName(final String statusName) {
|
this.statusName = statusName;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CountStatusDTO) {
|
CountStatusDTO other = (CountStatusDTO) o;
|
if (other.canEqual(this)) {
|
Object this$count = getCount();
|
Object other$count = other.getCount();
|
if (this$count == null) {
|
if (other$count != null) {
|
return false;
|
}
|
} else if (!this$count.equals(other$count)) {
|
return false;
|
}
|
Object this$statusName = getStatusName();
|
Object other$statusName = other.getStatusName();
|
if (this$statusName == null) {
|
if (other$statusName != null) {
|
return false;
|
}
|
} else if (!this$statusName.equals(other$statusName)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
return this$code == null ? other$code == null : this$code.equals(other$code);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CountStatusDTO;
|
}
|
|
public int hashCode() {
|
Object $count = getCount();
|
int result = (1 * 59) + ($count == null ? 43 : $count.hashCode());
|
Object $statusName = getStatusName();
|
int result2 = (result * 59) + ($statusName == null ? 43 : $statusName.hashCode());
|
Object $code = getCode();
|
return (result2 * 59) + ($code == null ? 43 : $code.hashCode());
|
}
|
|
public String toString() {
|
return "CountStatusDTO(count=" + getCount() + ", statusName=" + getStatusName() + ", code=" + getCode() + ")";
|
}
|
|
public static CountStatusDTOBuilder builder() {
|
return new CountStatusDTOBuilder();
|
}
|
|
public CountStatusDTO() {
|
}
|
|
public CountStatusDTO(final Long count, final String statusName, final String code) {
|
this.count = count;
|
this.statusName = statusName;
|
this.code = code;
|
}
|
|
public Long getCount() {
|
return this.count;
|
}
|
|
public String getStatusName() {
|
return this.statusName;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
}
|