fairnet/src/main/java/seed/map/T_BBS_FILE.java
tolag3 495238e333 이준호 분쟁조정시스템 커밋
- hibernate 연동
 - 권한관리 개발중
2024-08-13 12:16:43 +09:00

136 lines
3.5 KiB
Java

package seed.map;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import org.hibernate.annotations.Proxy;
@Entity
@SequenceGenerator(name="sequence", sequenceName="SEQ_BBS_FILE", allocationSize=1)
@Table(name = "T_BBS_FILE")
@Proxy(lazy=true)
public class T_BBS_FILE {
@Id
@Column(name = "BBS_FILE_IDX", nullable=false, insertable=true, updatable=false)
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="sequence")
private Integer bbsFileIdx;
@ManyToOne
@JoinColumn(name="BBS_DATA_IDX", nullable=false, insertable=true, updatable= false)
private T_BBS_DATA tBbsData;
@Column(name = "BBS_FILE_NAME", length=255, nullable=false, insertable=true, updatable=false)
private String bbsFileName;
@Column(name = "BBS_FILE_RENAME", length=255, nullable=false, insertable=true, updatable=false)
private String bbsFileReName;
@Column(name = "BBS_FILE_TYPE", length=10, nullable=false, insertable=true, updatable=false)
private String bbsFileType;
@Column(name = "BBS_FILE_SIZE", nullable=false, insertable=true, updatable=false)
private Long bbsFileSize;
@Column(name = "BBS_FILE_TEXT", length=2000, nullable=true, insertable=true, updatable=false)
private String bbsFileText;
@Column(name="BBS_FILE_DOWN_CNT", nullable=false, insertable=true, updatable=true)
private Integer bbsFileDownCnt;
@Column(name = "BBS_FILE_REGDATE", columnDefinition="TIMESTAMP", nullable=false, insertable=true, updatable=false)
private Date bbsFileRegDate;
@Column(name = "BBS_FILE_ENCRYPTION", length=1, nullable=true, insertable=true, updatable=true)
private String bbsFileEncryption;
public Integer getBbsFileIdx() {
return bbsFileIdx;
}
public void setBbsFileIdx(Integer bbsFileIdx) {
this.bbsFileIdx = bbsFileIdx;
}
public T_BBS_DATA gettBbsData() {
return tBbsData;
}
public void settBbsData(T_BBS_DATA tBbsData) {
this.tBbsData = tBbsData;
}
public String getBbsFileName() {
return bbsFileName;
}
public void setBbsFileName(String bbsFileName) {
this.bbsFileName = bbsFileName;
}
public String getBbsFileReName() {
return bbsFileReName;
}
public void setBbsFileReName(String bbsFileReName) {
this.bbsFileReName = bbsFileReName;
}
public String getBbsFileType() {
return bbsFileType;
}
public void setBbsFileType(String bbsFileType) {
this.bbsFileType = bbsFileType;
}
public Long getBbsFileSize() {
return bbsFileSize;
}
public void setBbsFileSize(Long bbsFileSize) {
this.bbsFileSize = bbsFileSize;
}
public String getBbsFileText() {
return bbsFileText;
}
public void setBbsFileText(String bbsFileText) {
this.bbsFileText = bbsFileText;
}
public Integer getBbsFileDownCnt() {
return bbsFileDownCnt;
}
public void setBbsFileDownCnt(Integer bbsFileDownCnt) {
this.bbsFileDownCnt = bbsFileDownCnt;
}
public Date getBbsFileRegDate() {
return bbsFileRegDate;
}
public void setBbsFileRegDate(Date bbsFileRegDate) {
this.bbsFileRegDate = bbsFileRegDate;
}
public String getBbsFileEncryption() {
return bbsFileEncryption;
}
public void setBbsFileEncryption(String bbsFileEncryption) {
this.bbsFileEncryption = bbsFileEncryption;
}
}