/**
|
* 상기 프로그램에 대한 저작권을 포함한 지적재산권은 WiseStone에 있으며,
|
* WiseStone이 명시적으로 허용하지 않은 사용, 복사, 변경, 제3자에의 공개,
|
* 배포는 엄격히 금지되며, WiseStone의 지적재산권 침해에 해당됩니다.
|
* (Copyright ⓒ 2014 WiseStone Co., Ltd. All Rights Reserved|Confidential)
|
* -----------------------------------------------------------------------------
|
* You are strictly prohibited to copy, disclose, distribute, modify,
|
* or use this program in part or as a whole without the prior written
|
* consent of WiseStone Co., Ltd. WiseStone Co., Ltd., owns the
|
* intellectual property rights in and to this program.
|
* (Copyright ⓒ 2014 WiseStone Co., Ltd. All Rights Reserved|Confidential)
|
* -----------------------------------------------------------------------------
|
*/
|
package kr.wisestone.owl.domain;
|
|
import javax.persistence.*;
|
import java.util.Date;
|
|
@MappedSuperclass
|
public class BaseEntity {
|
@Basic
|
@Column(insertable = true, updatable = false)
|
Long registerId;
|
@Column(insertable = true, updatable = false)
|
@Temporal(TemporalType.TIMESTAMP)
|
Date registerDate;
|
|
@Basic
|
@Column(insertable = true, updatable = true)
|
Long modifyId;
|
@Column(insertable = true, updatable = true)
|
@Temporal(TemporalType.TIMESTAMP)
|
Date modifyDate;
|
|
public Long getRegisterId() {
|
return registerId;
|
}
|
|
public void setRegisterId(Long registerId) {
|
this.registerId = registerId;
|
}
|
|
public Date getRegisterDate() {
|
return registerDate;
|
}
|
|
public void setRegisterDate(Date registerDate) {
|
this.registerDate = registerDate;
|
}
|
|
public Long getModifyId() {
|
return modifyId;
|
}
|
|
public void setModifyId(Long modifyId) {
|
this.modifyId = modifyId;
|
}
|
|
public Date getModifyDate() {
|
return modifyDate;
|
}
|
|
public void setModifyDate(Date modifyDate) {
|
this.modifyDate = modifyDate;
|
}
|
|
@Override
|
public String toString() {
|
StringBuilder builder = new StringBuilder();
|
builder.append("BaseEntity [registerId=").append(this.registerId)
|
.append(", registerDate=").append(this.registerDate)
|
.append(", modifyId=").append(this.modifyId).append(", modifyDate=")
|
.append(this.modifyDate).append("]");
|
return builder.toString();
|
}
|
}
|