184 lines
4.5 KiB
Java
184 lines
4.5 KiB
Java
package seed.map;
|
|
|
|
import java.util.Date;
|
|
import java.util.Set;
|
|
|
|
import javax.persistence.CascadeType;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.OneToMany;
|
|
import javax.persistence.SequenceGenerator;
|
|
import javax.persistence.Table;
|
|
|
|
import org.hibernate.annotations.Proxy;
|
|
|
|
@Entity
|
|
@SequenceGenerator(name="sequence", sequenceName="SEQ_GROUP", allocationSize=1)
|
|
@Table(name = "T_GROUP")
|
|
@Proxy(lazy=true)
|
|
public class T_GROUP {
|
|
|
|
@Id
|
|
@Column(name = "GROUP_IDX", nullable=false, insertable=true, updatable=false)
|
|
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="sequence")
|
|
private Integer groupIdx;
|
|
|
|
@OneToMany(mappedBy="tGroup", cascade={CascadeType.ALL})
|
|
private Set<T_GROUPS> tGroupss;
|
|
|
|
@OneToMany(mappedBy="tGroup", cascade={CascadeType.ALL})
|
|
private Set<T_SITE_MENU_AUTH> tSiteMenuAuths;
|
|
|
|
@OneToMany(mappedBy="tGroup", cascade={CascadeType.ALL})
|
|
private Set<T_BBS_AUTH> tBbsAuths;
|
|
|
|
@OneToMany(mappedBy="tGroup", cascade={CascadeType.ALL})
|
|
private Set<T_FORMBUILDER_AUTH> tFormbuilderAuths;
|
|
|
|
@OneToMany(mappedBy="tGroup", cascade={CascadeType.ALL})
|
|
private Set<T_SURVEY_AUTH> tSurveyAuths;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name="SITE_IDX", nullable=false, insertable=true, updatable= true)
|
|
private T_SITE tSite;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name="MEMBER_IDX", nullable=false, insertable=true, updatable= true)
|
|
private T_MEMBER tMember;
|
|
|
|
@Column(name = "GROUP_NAME", length=100, nullable=false, insertable=true, updatable=true)
|
|
private String groupName;
|
|
|
|
@Column(name = "GROUP_LEVEL", nullable=false, insertable=true, updatable=true)
|
|
private Integer groupLevel;
|
|
|
|
@Column(name = "GROUP_TYPE", length=1, nullable=false, insertable=true, updatable=true)
|
|
private String groupType;
|
|
|
|
@Column(name = "GROUP_STATUS", length=1, nullable=false, insertable=true, updatable=true)
|
|
private String groupStatus;
|
|
|
|
@Column(name = "GROUP_REGDATE", columnDefinition="TIMESTAMP", nullable=false, insertable=true, updatable=true)
|
|
private Date groupRegDate;
|
|
|
|
@Column(name = "GROUP_MODDATE", columnDefinition="TIMESTAMP", nullable=false, insertable=true, updatable=true)
|
|
private Date groupModDate;
|
|
|
|
public Integer getGroupIdx() {
|
|
return groupIdx;
|
|
}
|
|
|
|
public void setGroupIdx(Integer groupIdx) {
|
|
this.groupIdx = groupIdx;
|
|
}
|
|
|
|
public Set<T_GROUPS> gettGroupss() {
|
|
return tGroupss;
|
|
}
|
|
|
|
public void settGroupss(Set<T_GROUPS> tGroupss) {
|
|
this.tGroupss = tGroupss;
|
|
}
|
|
|
|
public Set<T_SITE_MENU_AUTH> gettSiteMenuAuths() {
|
|
return tSiteMenuAuths;
|
|
}
|
|
|
|
public void settSiteMenuAuths(Set<T_SITE_MENU_AUTH> tSiteMenuAuths) {
|
|
this.tSiteMenuAuths = tSiteMenuAuths;
|
|
}
|
|
|
|
public Set<T_BBS_AUTH> gettBbsAuths() {
|
|
return tBbsAuths;
|
|
}
|
|
|
|
public void settBbsAuths(Set<T_BBS_AUTH> tBbsAuths) {
|
|
this.tBbsAuths = tBbsAuths;
|
|
}
|
|
|
|
public Set<T_FORMBUILDER_AUTH> gettFormbuilderAuths() {
|
|
return tFormbuilderAuths;
|
|
}
|
|
|
|
public void settFormbuilderAuths(Set<T_FORMBUILDER_AUTH> tFormbuilderAuths) {
|
|
this.tFormbuilderAuths = tFormbuilderAuths;
|
|
}
|
|
|
|
public Set<T_SURVEY_AUTH> gettSurveyAuths() {
|
|
return tSurveyAuths;
|
|
}
|
|
|
|
public void settSurveyAuths(Set<T_SURVEY_AUTH> tSurveyAuths) {
|
|
this.tSurveyAuths = tSurveyAuths;
|
|
}
|
|
|
|
public T_SITE gettSite() {
|
|
return tSite;
|
|
}
|
|
|
|
public void settSite(T_SITE tSite) {
|
|
this.tSite = tSite;
|
|
}
|
|
|
|
public T_MEMBER gettMember() {
|
|
return tMember;
|
|
}
|
|
|
|
public void settMember(T_MEMBER tMember) {
|
|
this.tMember = tMember;
|
|
}
|
|
|
|
public String getGroupName() {
|
|
return groupName;
|
|
}
|
|
|
|
public void setGroupName(String groupName) {
|
|
this.groupName = groupName;
|
|
}
|
|
|
|
public Integer getGroupLevel() {
|
|
return groupLevel;
|
|
}
|
|
|
|
public void setGroupLevel(Integer groupLevel) {
|
|
this.groupLevel = groupLevel;
|
|
}
|
|
|
|
public String getGroupType() {
|
|
return groupType;
|
|
}
|
|
|
|
public void setGroupType(String groupType) {
|
|
this.groupType = groupType;
|
|
}
|
|
|
|
public String getGroupStatus() {
|
|
return groupStatus;
|
|
}
|
|
|
|
public void setGroupStatus(String groupStatus) {
|
|
this.groupStatus = groupStatus;
|
|
}
|
|
|
|
public Date getGroupRegDate() {
|
|
return groupRegDate;
|
|
}
|
|
|
|
public void setGroupRegDate(Date groupRegDate) {
|
|
this.groupRegDate = groupRegDate;
|
|
}
|
|
|
|
public Date getGroupModDate() {
|
|
return groupModDate;
|
|
}
|
|
|
|
public void setGroupModDate(Date groupModDate) {
|
|
this.groupModDate = groupModDate;
|
|
}
|
|
}
|