Subversion Repositories SmartDukaan

Rev

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

Rev 36317 Rev 36568
Line 6... Line 6...
6
 
6
 
7
public class ImeiInvoiceGroup implements Serializable {
7
public class ImeiInvoiceGroup implements Serializable {
8
 
8
 
9
    private static final long serialVersionUID = 1L;
9
    private static final long serialVersionUID = 1L;
10
 
10
 
-
 
11
    // ── Invoice / vendor identification ───────────────────────────────
-
 
12
 
11
    private String invoiceNumber;
13
    private String invoiceNumber;
12
    private int invoiceId;
14
    private int invoiceId;
13
    private int vendorId;
15
    private int vendorId;
14
    private String vendorName;
16
    private String vendorName;
15
    private int purchaseId;
17
    private int purchaseId;
16
    private int warehouseId;
18
    private int warehouseId;
-
 
19
 
-
 
20
    // ── Aggregated data ───────────────────────────────────────────────
-
 
21
 
17
    private List<Entry> imeis = new ArrayList<>();
22
    private List<Entry> imeis = new ArrayList<>();
18
    private long totalAmount;
23
    private long totalAmount;
19
 
24
 
20
    public int getInvoiceId() {
25
    public int getInvoiceId() {
21
        return invoiceId;
26
        return invoiceId;
Line 81... Line 86...
81
        this.totalAmount = totalAmount;
86
        this.totalAmount = totalAmount;
82
    }
87
    }
83
 
88
 
84
    public static class Entry implements Serializable {
89
    public static class Entry implements Serializable {
85
        private static final long serialVersionUID = 1L;
90
        private static final long serialVersionUID = 1L;
-
 
91
 
-
 
92
        // ── Identification ────────────────────────────────────────────
-
 
93
 
86
        private String imei;
94
        private String imei;
87
        private int itemId;
95
        private int itemId;
88
        private int inventoryItemId;
96
        private int inventoryItemId;
-
 
97
 
-
 
98
        // ── Pricing ───────────────────────────────────────────────────
-
 
99
 
89
        private long unitPrice;
100
        private long unitPrice;
90
        private String productName;
101
        private String productName;
-
 
102
 
-
 
103
        // ── Tax rates ─────────────────────────────────────────────────
-
 
104
 
91
        private float cgstRate;
105
        private float cgstRate;
92
        private float sgstRate;
106
        private float sgstRate;
93
        private float igstRate;
107
        private float igstRate;
94
 
108
 
95
        public String getImei() {
109
        public String getImei() {