Package Items
Class ZRow
java.lang.Object
Items.ZRow
Controller for the Z Row List screen.
- Since:
- 2023-03-20
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final javafx.beans.property.SimpleObjectProperty<Date>SimpleObjectPropertyofDatestoring the date the z-row entry was createdprivate final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringstoring the name of the Employeeprivate final javafx.beans.property.SimpleObjectProperty<Long>SimpleObjectPropertyofLongstoring the order IDprivate final javafx.beans.property.SimpleObjectProperty<Long>SimpleObjectPropertyofLongstoring the identification number of the Z-row tableprivate final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringstoring the total sales for that day -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.SimpleObjectProperty<Date>Gets the value ofdateCreatedjavafx.beans.property.SimpleObjectProperty<String>Gets value inemployeejavafx.beans.property.SimpleObjectProperty<Long>Gets value inorderIDjavafx.beans.property.SimpleObjectProperty<Long>Gets value inreportIDjavafx.beans.property.SimpleObjectProperty<String>Gets the value intotalSales
-
Field Details
-
reportID
SimpleObjectPropertyofLongstoring the identification number of the Z-row table -
totalSales
SimpleObjectPropertyofStringstoring the total sales for that day -
employee
SimpleObjectPropertyofStringstoring the name of the Employee -
orderID
SimpleObjectPropertyofLongstoring the order ID -
dateCreated
SimpleObjectPropertyofDatestoring the date the z-row entry was created
-
-
Constructor Details
-
ZRow
Constructor- Parameters:
reportID- identification number of the Z-row tabletotalSales- total sales made in that dayemployee- being the name of the employeeorderID- identifies the last order ID from the last z-report madedateCreated- being the date when z-row entry was made
-
-
Method Details
-
getReportID
Gets value inreportID- Returns:
reportID
-
getEmployee
Gets value inemployee- Returns:
employee
-
getTotalSales
Gets the value intotalSales- Returns:
totalSales
-
getDateCreated
Gets the value ofdateCreated- Returns:
dateCreated
-
getOrderID
Gets value inorderID- Returns:
orderID
-