Subversion Repositories SmartDukaan

Rev

Rev 34118 | Rev 35079 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34118 Rev 34265
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
import java.time.LocalDateTime;
-
 
4
import java.util.List;
-
 
5
 
-
 
6
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
3
import com.spice.profitmandi.dao.enumuration.dtr.CommunicationType;
7
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
4
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
8
 
5
 
-
 
6
import java.time.LocalDateTime;
-
 
7
import java.util.List;
-
 
8
 
9
public class CreateRefferalRequest {
9
public class CreateRefferalRequest {
10
 
10
 
11
    private String firstName;
11
    private String firstName;
12
    private String lastName;
12
    private String lastName;
13
    private String city;
13
    private String city;
14
    private String state;
14
    private String state;
15
    private String mobile;
15
    private String mobile;
16
    private String address;
16
    private String address;
17
    private LeadStatus status;
17
    private LeadStatus status;
18
    private String remark;
18
    private String remark;
-
 
19
    private double potential;
19
    private int assignTo;
20
    private int assignTo;
20
    private String source;
21
    private String source;
21
    private Boolean colorCheck;
22
    private Boolean colorCheck;
22
    private String reason;
23
    private String reason;
23
    private CommunicationType communicationType;
24
    private CommunicationType communicationType;
Line 240... Line 241...
240
 
241
 
241
    public void setFofoAssociate(boolean fofoAssociate) {
242
    public void setFofoAssociate(boolean fofoAssociate) {
242
        this.fofoAssociate = fofoAssociate;
243
        this.fofoAssociate = fofoAssociate;
243
    }
244
    }
244
 
245
 
-
 
246
    public double getPotential() {
-
 
247
        return potential;
-
 
248
    }
-
 
249
 
-
 
250
    public void setPotential(double potential) {
-
 
251
        this.potential = potential;
-
 
252
    }
245
 
253
 
246
    // toString in json format
-
 
247
    @Override
254
    @Override
248
    public String toString() {
255
    public String toString() {
249
        return "CreateRefferalRequest{" +
256
        return "CreateRefferalRequest{" +
250
                "firstName='" + firstName + '\'' +
257
                "firstName='" + firstName + '\'' +
251
                ", lastName='" + lastName + '\'' +
258
                ", lastName='" + lastName + '\'' +
Line 253... Line 260...
253
                ", state='" + state + '\'' +
260
                ", state='" + state + '\'' +
254
                ", mobile='" + mobile + '\'' +
261
                ", mobile='" + mobile + '\'' +
255
                ", address='" + address + '\'' +
262
                ", address='" + address + '\'' +
256
                ", status=" + status +
263
                ", status=" + status +
257
                ", remark='" + remark + '\'' +
264
                ", remark='" + remark + '\'' +
-
 
265
                ", potential=" + potential +
258
                ", assignTo=" + assignTo +
266
                ", assignTo=" + assignTo +
259
                ", source='" + source + '\'' +
267
                ", source='" + source + '\'' +
260
                ", colorCheck=" + colorCheck +
268
                ", colorCheck=" + colorCheck +
261
                ", reason='" + reason + '\'' +
269
                ", reason='" + reason + '\'' +
262
                ", communicationType=" + communicationType +
270
                ", communicationType=" + communicationType +