package org.hso.ecommerce.entities.dashboard;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

@Entity
@Table(name = "dashboard_summaries")
public class DashboardSummary {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic
    public long id;

    @NotNull
    public java.sql.Date created;

    public int todaysCustomers;
    public int todaysCustomersOrders;
    public int todaysSuppliersOrders;
    public int todaysItemsSold;
    public int todaysSalesCent;
    public int totalWarehouseCapacity;
    public int currentWarehouseCapacity;
}
