공지사항 칼럼 추가
This commit is contained in:
@@ -1,12 +1,27 @@
|
||||
package com.eactive.apim.portal.portalNotice.entity;
|
||||
|
||||
import com.eactive.apim.portal.common.entity.Auditable;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.Comment;
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
import org.hibernate.annotations.JoinColumnOrFormula;
|
||||
import org.hibernate.annotations.JoinColumnsOrFormulas;
|
||||
import org.hibernate.annotations.JoinFormula;
|
||||
|
||||
import javax.persistence.*;
|
||||
import com.eactive.apim.portal.common.entity.Auditable;
|
||||
import com.eactive.apim.portal.monitoringcode.entity.MonitoringCode;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = true)
|
||||
@@ -48,4 +63,14 @@ public class PortalNotice extends Auditable {
|
||||
@Comment("작성자이름")
|
||||
private String inquirerName;
|
||||
|
||||
@Column(name = "fix_yn", length = 1, nullable = false)
|
||||
@Comment("상단고정여부")
|
||||
private String fixYn;
|
||||
|
||||
@Column(name = "notice_type", length = 1, nullable = false)
|
||||
@Comment("게시유형")
|
||||
private String noticeType;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user