Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 8 → Rev 9

/it-ru/trunk/src/ak/itru/core/model/EventAct.java
9,10 → 9,10
* @hibernate.class table="event_acts"
*/
public class EventAct
extends GeneralModelObject
{
private Long id;
private Long eventId;
private Long actId;
private Event event;
private Act act;
private String comment;
private Date modStamp;
 
22,30 → 22,30
 
/**
*
* @hibernate.id generator-class="native"
* @hibernate.many-to-one
*/
public Long getId()
public Event getEvent()
{
return id;
return event;
}
 
protected void setId(Long id)
public void setEvent(Event event)
{
this.id = id;
this.event = event;
}
 
/**
*
* @hibernate.property
* @hibernate.many-to-one
*/
public Long getEventId()
public Act getAct()
{
return eventId;
return act;
}
 
public void setEventId(Long eventId)
public void setAct(Act act)
{
this.eventId = eventId;
this.act = act;
}
 
/**
52,20 → 52,6
*
* @hibernate.property
*/
public Long getActId()
{
return actId;
}
 
public void setActId(Long actId)
{
this.actId = actId;
}
 
/**
*
* @hibernate.property
*/
public String getComment()
{
return comment;
75,18 → 61,4
{
this.comment = comment;
}
 
/**
*
* @hibernate.timestamp column="mod_stamp"
*/
public Date getModStamp()
{
return modStamp;
}
 
public void setModStamp(Date modStamp)
{
this.modStamp = modStamp;
}
}