18 package org.turro.erp.entity;
20 import org.turro.erp.entity.MaintenancePlan;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.ManyToOne;
33 public class Schedule implements java.io.Serializable {
36 @GeneratedValue(strategy=GenerationType.IDENTITY)
37 @Column(name=
"IDENTIFIER")
40 @Column(name=
"SCHEDULE_NAME", unique =
true, nullable =
false)
43 private boolean months[] =
new boolean[12];
45 private boolean daysOfMonth[] =
new boolean[31];
47 private boolean daysOfWeek[] =
new boolean[7];
49 private boolean hours[] =
new boolean[24];
51 private boolean minutes[] =
new boolean[12];
53 private boolean daily =
false;