This repository has been archived on 2020-08-02. You can view files and clone it, but cannot push or open issues or pull requests.
e-commerce/prototype/src/main/java/org/hso/ecommerce/entities/cron/BackgroundJob.java

24 lines
507 B
Java

package org.hso.ecommerce.entities.cron;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Entity
@Table(name = "background_jobs")
public class BackgroundJob {
public static final String JOB_DASHBOARD = "Dashboard";
public static final String JOB_REORDER = "SupplierOrder";
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic
public long id;
@NotNull
public String jobName;
@NotNull
public java.sql.Timestamp lastExecution;
}