| | |
| | | package com.application.zhangshi_app_android.bean; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * @author Ljj |
| | |
| | | public void setChoose(int choose) { |
| | | this.choose = choose; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object o) { |
| | | if (this == o) return true; |
| | | if (o == null || getClass() != o.getClass()) return false; |
| | | BannerBean that = (BannerBean) o; |
| | | return id == that.id && uid == that.uid && flag == that.flag && choose == that.choose && url.equals(that.url); |
| | | } |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | return Objects.hash(id, uid, url, flag, choose); |
| | | } |
| | | } |