Subversion Repositories SmartDukaan

Rev

Rev 32450 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32450 Rev 32475
Line 9... Line 9...
9
public class PartnerMonthlySaleModel {
9
public class PartnerMonthlySaleModel {
10
 
10
 
11
	private int fofoId;
11
	private int fofoId;
12
	private String yearMonth;
12
	private String yearMonth;
13
	private long amount;
13
	private long amount;
-
 
14
	//private long poAmount;
14
	private static final DateTimeFormatter yearMonthFormatter = DateTimeFormatter.ofPattern("MM-yyyy");
15
	private static final DateTimeFormatter yearMonthFormatter = DateTimeFormatter.ofPattern("MM-yyyy");
15
	private long pendingAmount;
16
	private long pendingAmount;
16
	private Milestone totalMilestone;
17
	private Milestone totalMilestone;
17
	private Milestone billedMilestone;
18
	private Milestone billedMilestone;
18
	private Milestone previouseBilledMilestone;
19
	private Milestone previouseBilledMilestone;
19
	private String state;
20
	private String state;
20
	private String rbms;
21
	private String rbms;
-
 
22
	private Milestone poMilestoneLastMonth;
-
 
23
	private Milestone poMilestoneCurrentMonthTillDate;
-
 
24
	private Milestone poMilestoneTillYesterday;
21
 
25
 
22
	public PartnerMonthlySaleModel(int fofoId, String yearMonth, long amount) {
26
	public PartnerMonthlySaleModel(int fofoId, String yearMonth, long amount) {
23
		super();
27
		super();
24
		this.fofoId = fofoId;
28
		this.fofoId = fofoId;
25
		this.yearMonth = yearMonth;
29
		this.yearMonth = yearMonth;
26
		this.amount = amount;
30
		this.amount = amount;
27
	}
31
	}
28
 
32
 
-
 
33
	/*public long getPoAmount() {
-
 
34
		return poAmount;
-
 
35
	}
-
 
36
 
-
 
37
	public void setPoAmount(long poAmount) {
-
 
38
		this.poAmount = poAmount;
-
 
39
	}*/
-
 
40
 
-
 
41
	public Milestone getPoMilestoneLastMonth() {
-
 
42
		return poMilestoneLastMonth;
-
 
43
	}
-
 
44
 
-
 
45
	public void setPoMilestoneLastMonth(Milestone poMilestoneLastMonth) {
-
 
46
		this.poMilestoneLastMonth = poMilestoneLastMonth;
-
 
47
	}
-
 
48
 
-
 
49
	public Milestone getPoMilestoneCurrentMonthTillDate() {
-
 
50
		return poMilestoneCurrentMonthTillDate;
-
 
51
	}
-
 
52
 
-
 
53
	public void setPoMilestoneCurrentMonthTillDate(Milestone poMilestoneCurrentMonthTillDate) {
-
 
54
		this.poMilestoneCurrentMonthTillDate = poMilestoneCurrentMonthTillDate;
-
 
55
	}
-
 
56
 
-
 
57
	public Milestone getPoMilestoneTillYesterday() {
-
 
58
		return poMilestoneTillYesterday;
-
 
59
	}
-
 
60
 
-
 
61
	public void setPoMilestoneTillYesterday(Milestone poMilestoneTillYesterday) {
-
 
62
		this.poMilestoneTillYesterday = poMilestoneTillYesterday;
-
 
63
	}
-
 
64
 
29
    public YearMonth getYearMonthObj() {
65
	public YearMonth getYearMonthObj() {
30
        return YearMonth.parse(this.yearMonth, yearMonthFormatter);
66
        return YearMonth.parse(this.yearMonth, yearMonthFormatter);
31
    }
67
    }
32
 
68
 
33
	public void setYearMonthObj(YearMonth yearMonth) {
69
	public void setYearMonthObj(YearMonth yearMonth) {
34
		this.yearMonth = yearMonthFormatter.format(yearMonth);
70
		this.yearMonth = yearMonthFormatter.format(yearMonth);