| | |
| | | */ |
| | | public class SuperAlarm extends SuperAggregate implements Serializable { |
| | | private static final long serialVersionUID = 1123326427413588953L; |
| | | private Timestamp ts; |
| | | private Timestamp time; |
| | | private String code; |
| | | private String message; |
| | | private String level; |
| | | |
| | | public void setTs(final Timestamp ts) { |
| | | this.ts = ts; |
| | | public void setTime(final Timestamp time) { |
| | | this.time = time; |
| | | } |
| | | |
| | | public void setCode(final String code) { |
| | |
| | | |
| | | @Override // org.springblade.modules.mdc.entity.SuperAggregate |
| | | public String toString() { |
| | | return "SuperAlarm(ts=" + getTs() + ", code=" + getCode() + ", message=" + getMessage() + ", level=" + getLevel() + ")"; |
| | | return "SuperAlarm(time=" + getTime() + ", code=" + getCode() + ", message=" + getMessage() + ", level=" + getLevel() + ")"; |
| | | } |
| | | |
| | | public SuperAlarm() { |
| | | } |
| | | |
| | | public SuperAlarm(final Timestamp ts, final String code, final String message, final String level) { |
| | | this.ts = ts; |
| | | public SuperAlarm(final Timestamp time, final String code, final String message, final String level) { |
| | | this.time = time; |
| | | this.code = code; |
| | | this.message = message; |
| | | this.level = level; |
| | |
| | | if (o instanceof SuperAlarm) { |
| | | SuperAlarm other = (SuperAlarm) o; |
| | | if (other.canEqual(this) && super.equals(o)) { |
| | | Object this$ts = getTs(); |
| | | Object other$ts = other.getTs(); |
| | | Object this$ts = getTime(); |
| | | Object other$ts = other.getTime(); |
| | | if (this$ts == null) { |
| | | if (other$ts != null) { |
| | | return false; |
| | |
| | | @Override // org.springblade.modules.mdc.entity.SuperAggregate |
| | | public int hashCode() { |
| | | int result = super.hashCode(); |
| | | Object $ts = getTs(); |
| | | Object $ts = getTime(); |
| | | int result2 = (result * 59) + ($ts == null ? 43 : $ts.hashCode()); |
| | | Object $code = getCode(); |
| | | int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode()); |
| | |
| | | return (result4 * 59) + ($level == null ? 43 : $level.hashCode()); |
| | | } |
| | | |
| | | public Timestamp getTs() { |
| | | return this.ts; |
| | | public Timestamp getTime() { |
| | | return this.time; |
| | | } |
| | | |
| | | public String getCode() { |