task/3382: Harmonisera tabellnamn #6
|
@ -13,7 +13,7 @@ public class FooterLink extends DomainObject {
|
|||
private Long id;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
@Column(name="footer_column")
|
||||
@Column(name = "footer_column")
|
||||
private FooterColumn footerColumn;
|
||||
|
||||
@Basic(optional = false)
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.util.Date;
|
|||
import java.util.Objects;
|
||||
|
||||
@Entity
|
||||
@Table(name="worker_data")
|
||||
@Table(name = "worker_data")
|
||||
@Cacheable(true)
|
||||
public class WorkerData extends DomainObject {
|
||||
public WorkerData() {
|
||||
|
@ -18,13 +18,13 @@ public class WorkerData extends DomainObject {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
@Column(unique=true, nullable=false)
|
||||
@Column(unique = true, nullable = false)
|
||||
private String name;
|
||||
|
||||
@Column(nullable=false, name="last_run")
|
||||
private Date lastRun=new Date();
|
||||
@Column(nullable = false, name = "last_run")
|
||||
private Date lastRun = new Date();
|
||||
|
||||
@Column(nullable=false, name="last_successful_run")
|
||||
@Column(nullable = false, name = "last_successful_run")
|
||||
private Date lastSuccessfulRun;
|
||||
|
||||
@PreUpdate
|
||||
|
|
Loading…
Reference in New Issue
Block a user