Forgot to test => rollback
This commit is contained in:
parent
b2dae45419
commit
c6dfb893ca
4
pom.xml
4
pom.xml
@ -257,11 +257,11 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<!--<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>1.0.0.GA</version>
|
||||
</dependency>
|
||||
</dependency>-->
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@ -5,7 +5,7 @@ import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
//import javax.validation.constraints.NotNull;
|
||||
|
||||
import org.hibernate.annotations.Cache;
|
||||
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
||||
@ -29,15 +29,18 @@ public class ApplicationPeriod extends DomainObject {
|
||||
@ManyToMany
|
||||
private Set<ProjectClass> projectClass = new HashSet<ProjectClass>();
|
||||
|
||||
@NotNull
|
||||
//@NotNull
|
||||
@Basic (optional = false)
|
||||
private String name;
|
||||
|
||||
@NotNull
|
||||
//@NotNull
|
||||
@Temporal(TemporalType.DATE)
|
||||
@Basic (optional = false)
|
||||
private Date startDate;
|
||||
|
||||
@NotNull
|
||||
//@NotNull
|
||||
@Temporal(TemporalType.DATE)
|
||||
@Basic (optional = false)
|
||||
private Date endDate;
|
||||
|
||||
public ApplicationPeriod() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user