| |
| 1 |
package com.agfa.agility.model.core; |
| 2 |
|
| 3 |
import com.agfa.hap.jboss.server.model.BaseServerBO; |
| 4 |
import com.mysema.query.annotations.Entity; |
| 5 |
|
| 6 |
@Entity |
| 7 |
public class Alien extends BaseServerBO { |
| 8 |
private String name; |
| 9 |
private String sex; |
| 10 |
private Long age; |
| 11 |
private String address; |
| 12 |
private String nationality; |
| 13 |
public String getName() { |
| 14 |
return name; |
| 15 |
} |
| 16 |
public void setName(String name) { |
| 17 |
this.name = name; |
| 18 |
} |
| 19 |
public String getSex() { |
| 20 |
return sex; |
| 21 |
} |
| 22 |
public void setSex(String sex) { |
| 23 |
this.sex = sex; |
| 24 |
} |
| 25 |
public Long getAge() { |
| 26 |
return age; |
| 27 |
} |
| 28 |
public void setAge(Long age) { |
| 29 |
this.age = age; |
| 30 |
} |
| 31 |
public String getAddress() { |
| 32 |
return address; |
| 33 |
} |
| 34 |
public void setAddress(String address) { |
| 35 |
this.address = address; |
| 36 |
} |
| 37 |
public String getNationality() { |
| 38 |
return nationality; |
| 39 |
} |
| 40 |
public void setNationality(String nationality) { |
| 41 |
this.nationality = nationality; |
| 42 |
} |
| 43 |
} |
| |