mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - format code
This commit is contained in:
@@ -1,78 +1,77 @@
|
||||
package com.avaje.tests.model.basic;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.UniqueConstraint;
|
||||
import javax.persistence.Version;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Entity
|
||||
@Table(name="e_basicverucon")
|
||||
@UniqueConstraint(columnNames={"other","other_one"})
|
||||
@Table(name = "e_basicverucon")
|
||||
@UniqueConstraint(columnNames = {"other", "other_one"})
|
||||
public class EBasicWithUniqueCon {
|
||||
|
||||
@Id
|
||||
Integer id;
|
||||
|
||||
@Column(unique=true)
|
||||
String name;
|
||||
|
||||
String other;
|
||||
String otherOne;
|
||||
String description;
|
||||
|
||||
@Version
|
||||
Timestamp lastUpdate;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
@Id
|
||||
Integer id;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
@Column(unique = true)
|
||||
String name;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
String other;
|
||||
String otherOne;
|
||||
String description;
|
||||
|
||||
public String getOther() {
|
||||
return other;
|
||||
}
|
||||
@Version
|
||||
Timestamp lastUpdate;
|
||||
|
||||
public void setOther(String other) {
|
||||
this.other = other;
|
||||
}
|
||||
|
||||
public String getOtherOne() {
|
||||
return otherOne;
|
||||
}
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setOtherOne(String otherOne) {
|
||||
this.otherOne = otherOne;
|
||||
}
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Timestamp getLastUpdate() {
|
||||
return lastUpdate;
|
||||
}
|
||||
public String getOther() {
|
||||
return other;
|
||||
}
|
||||
|
||||
public void setLastUpdate(Timestamp lastUpdate) {
|
||||
this.lastUpdate = lastUpdate;
|
||||
}
|
||||
public void setOther(String other) {
|
||||
this.other = other;
|
||||
}
|
||||
|
||||
public String getOtherOne() {
|
||||
return otherOne;
|
||||
}
|
||||
|
||||
public void setOtherOne(String otherOne) {
|
||||
this.otherOne = otherOne;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Timestamp getLastUpdate() {
|
||||
return lastUpdate;
|
||||
}
|
||||
|
||||
public void setLastUpdate(Timestamp lastUpdate) {
|
||||
this.lastUpdate = lastUpdate;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user