Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.time.LocalDateTime;import java.util.Objects;public class ActivityMediaModel {private int fofoId;private int durationInSec;private String mobile;private String mediaUrl;private LocalDateTime callConnectTime;public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public int getDurationInSec() {return durationInSec;}public void setDurationInSec(int durationInSec) {this.durationInSec = durationInSec;}public String getMobile() {return mobile;}public void setMobile(String mobile) {this.mobile = mobile;}public String getMediaUrl() {return mediaUrl;}public void setMediaUrl(String mediaUrl) {this.mediaUrl = mediaUrl;}public LocalDateTime getCallConnectTime() {return callConnectTime;}public void setCallConnectTime(LocalDateTime callConnectTime) {this.callConnectTime = callConnectTime;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;ActivityMediaModel that = (ActivityMediaModel) o;return fofoId == that.fofoId && durationInSec == that.durationInSec && Objects.equals(mobile, that.mobile) && Objects.equals(mediaUrl, that.mediaUrl) && Objects.equals(callConnectTime, that.callConnectTime);}@Overridepublic String toString() {return "ActivityMediaModel{" +"fofoId=" + fofoId +", durationInSec=" + durationInSec +", mobile='" + mobile + '\'' +", mediaUrl='" + mediaUrl + '\'' +", callConnectTime=" + callConnectTime +'}';}@Overridepublic int hashCode() {return Objects.hash(fofoId, durationInSec, mobile, mediaUrl, callConnectTime);}}