0,0 → 1,56 |
package ak.kickup.core.model; |
|
import java.util.Date; |
import ak.kickup.util.ModelException; |
import ak.kickup.util.ModelSecurityException; |
|
/** |
* |
* @hibernate.class table="acts" |
*/ |
public class Act |
extends GeneralModelObject |
{ |
private String name; |
private String comment; |
|
protected Act() |
{ |
} |
|
/** |
* |
* @hibernate.property |
*/ |
public String getName() |
{ |
return name; |
} |
|
public void setName(String name) |
{ |
this.name = name; |
} |
|
/** |
* |
* @hibernate.property |
*/ |
public String getComment() |
{ |
return comment; |
} |
|
public void setComment(String comment) |
{ |
this.comment = comment; |
} |
|
public boolean equals(Object o) |
{ |
if(o == null || !(o instanceof Act)) return false; |
|
Act a = (Act)o; |
return (getId() != null) && (a.getId() != null) && (getId().equals(a.getId())); |
} |
} |