Package Items

Class ZRow

java.lang.Object
Items.ZRow

public class ZRow extends Object
Controller for the Z Row List screen.
Since:
2023-03-20
  • Field Details

    • reportID

      private final javafx.beans.property.SimpleObjectProperty<Long> reportID
      SimpleObjectProperty of Long storing the identification number of the Z-row table
    • totalSales

      private final javafx.beans.property.SimpleObjectProperty<String> totalSales
      SimpleObjectProperty of String storing the total sales for that day
    • employee

      private final javafx.beans.property.SimpleObjectProperty<String> employee
      SimpleObjectProperty of String storing the name of the Employee
    • orderID

      private final javafx.beans.property.SimpleObjectProperty<Long> orderID
      SimpleObjectProperty of Long storing the order ID
    • dateCreated

      private final javafx.beans.property.SimpleObjectProperty<Date> dateCreated
      SimpleObjectProperty of Date storing the date the z-row entry was created
  • Constructor Details

    • ZRow

      public ZRow(Long reportID, String totalSales, String employee, Long orderID, Date dateCreated)
      Constructor
      Parameters:
      reportID - identification number of the Z-row table
      totalSales - total sales made in that day
      employee - being the name of the employee
      orderID - identifies the last order ID from the last z-report made
      dateCreated - being the date when z-row entry was made
  • Method Details

    • getReportID

      public javafx.beans.property.SimpleObjectProperty<Long> getReportID()
      Gets value in reportID
      Returns:
      reportID
    • getEmployee

      public javafx.beans.property.SimpleObjectProperty<String> getEmployee()
      Gets value in employee
      Returns:
      employee
    • getTotalSales

      public javafx.beans.property.SimpleObjectProperty<String> getTotalSales()
      Gets the value in totalSales
      Returns:
      totalSales
    • getDateCreated

      public javafx.beans.property.SimpleObjectProperty<Date> getDateCreated()
      Gets the value of dateCreated
      Returns:
      dateCreated
    • getOrderID

      public javafx.beans.property.SimpleObjectProperty<Long> getOrderID()
      Gets value in orderID
      Returns:
      orderID