Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
32923 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.time.LocalDateTime;
4
import java.util.Objects;
5
 
6
public class ActivityMediaModel {
7
 
8
	private int fofoId;
9
	private int durationInSec;
10
	private String mobile;
11
	private String mediaUrl;
12
	private LocalDateTime callConnectTime;
13
 
14
	public int getFofoId() {
15
		return fofoId;
16
	}
17
 
18
	public void setFofoId(int fofoId) {
19
		this.fofoId = fofoId;
20
	}
21
 
22
	public int getDurationInSec() {
23
		return durationInSec;
24
	}
25
 
26
	public void setDurationInSec(int durationInSec) {
27
		this.durationInSec = durationInSec;
28
	}
29
 
30
	public String getMobile() {
31
		return mobile;
32
	}
33
 
34
	public void setMobile(String mobile) {
35
		this.mobile = mobile;
36
	}
37
 
38
	public String getMediaUrl() {
39
		return mediaUrl;
40
	}
41
 
42
	public void setMediaUrl(String mediaUrl) {
43
		this.mediaUrl = mediaUrl;
44
	}
45
 
46
	public LocalDateTime getCallConnectTime() {
47
		return callConnectTime;
48
	}
49
 
50
	public void setCallConnectTime(LocalDateTime callConnectTime) {
51
		this.callConnectTime = callConnectTime;
52
	}
53
 
54
	@Override
55
	public boolean equals(Object o) {
56
		if (this == o) return true;
57
		if (o == null || getClass() != o.getClass()) return false;
58
		ActivityMediaModel that = (ActivityMediaModel) o;
59
		return fofoId == that.fofoId && durationInSec == that.durationInSec && Objects.equals(mobile, that.mobile) && Objects.equals(mediaUrl, that.mediaUrl) && Objects.equals(callConnectTime, that.callConnectTime);
60
	}
61
 
62
	@Override
63
	public String toString() {
64
		return "ActivityMediaModel{" +
65
				"fofoId=" + fofoId +
66
				", durationInSec=" + durationInSec +
67
				", mobile='" + mobile + '\'' +
68
				", mediaUrl='" + mediaUrl + '\'' +
69
				", callConnectTime=" + callConnectTime +
70
				'}';
71
	}
72
 
73
	@Override
74
	public int hashCode() {
75
		return Objects.hash(fofoId, durationInSec, mobile, mediaUrl, callConnectTime);
76
	}
77
}