-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9837 from hmislk/Issue#9783_Consumption_report
Issue#9783 consumption report Closes #9783
- Loading branch information
Showing
4 changed files
with
315 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
src/main/java/com/divudi/data/DepartmentCategoryWiseItems.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
/* | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template | ||
*/ | ||
package com.divudi.data; | ||
|
||
import com.divudi.entity.Category; | ||
import com.divudi.entity.Department; | ||
import com.divudi.entity.Item; | ||
|
||
/** | ||
* | ||
* @author Pubudu Piyankara | ||
*/ | ||
public class DepartmentCategoryWiseItems { | ||
|
||
|
||
private Department mainDepartment; | ||
private Department consumptionDepartment; | ||
private Item item; | ||
private Category category; | ||
private Double netTotal; | ||
private Double purchaseRate; | ||
private double qty; | ||
private double paidAmount; | ||
|
||
public DepartmentCategoryWiseItems(){ } | ||
|
||
public DepartmentCategoryWiseItems( | ||
Department mainDepartment, | ||
Department consumptionDepartment, | ||
Item item, | ||
Category category, | ||
Double netTotal, | ||
Double purchaseRate, | ||
double qty | ||
) { | ||
this.mainDepartment = mainDepartment; | ||
this.consumptionDepartment = consumptionDepartment; | ||
this.item = item; | ||
this.category = category; | ||
this.netTotal = netTotal; | ||
this.purchaseRate = purchaseRate; | ||
this.qty = qty; | ||
} | ||
|
||
public Department getMainDepartment() { | ||
return mainDepartment; | ||
} | ||
|
||
public void setMainDepartment(Department mainDepartment) { | ||
this.mainDepartment = mainDepartment; | ||
} | ||
|
||
public Department getConsumptionDepartment() { | ||
return consumptionDepartment; | ||
} | ||
|
||
public void setConsumptionDepartment(Department consumptionDepartment) { | ||
this.consumptionDepartment = consumptionDepartment; | ||
} | ||
|
||
public Item getItem() { | ||
return item; | ||
} | ||
|
||
public void setItem(Item item) { | ||
this.item = item; | ||
} | ||
|
||
public Category getCategory() { | ||
return category; | ||
} | ||
|
||
public void setCategory(Category category) { | ||
this.category = category; | ||
} | ||
|
||
public Double getNetTotal() { | ||
return netTotal; | ||
} | ||
|
||
public void setNetTotal(Double netTotal) { | ||
this.netTotal = netTotal; | ||
} | ||
|
||
public Double getPurchaseRate() { | ||
return purchaseRate; | ||
} | ||
|
||
public void setPurchaseRate(Double purchaseRate) { | ||
this.purchaseRate = purchaseRate; | ||
} | ||
|
||
public double getQty() { | ||
return qty; | ||
} | ||
|
||
public void setQty(double qty) { | ||
this.qty = qty; | ||
} | ||
|
||
public double getPaidAmount() { | ||
return paidAmount; | ||
} | ||
|
||
public void setPaidAmount(double paidAmount) { | ||
this.paidAmount = paidAmount; | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.