lkd9125
1 year ago
4 changed files with 97 additions and 9 deletions
@ -0,0 +1,70 @@ |
|||||||
|
package com.palnet.biz.jpa.entity; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import javax.persistence.*; |
||||||
|
import java.io.Serializable; |
||||||
|
import java.time.Instant; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* The persistent class for the COM_IDNTF_BAS database table. |
||||||
|
* |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@Entity |
||||||
|
@Table(name="COM_FILE_BAS") |
||||||
|
@NamedQuery(name="ComFileBas.findAll", query="SELECT c FROM ComFileBas c") |
||||||
|
public class ComFileBas implements Serializable { |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
@Id |
||||||
|
@Column(name="FILE_SNO") |
||||||
|
private int fileSno; |
||||||
|
|
||||||
|
@Column(name="FILE_GROUP_NO") |
||||||
|
private int fileGroupNo; |
||||||
|
|
||||||
|
@Column(name="FILE_SAVE_NM") |
||||||
|
private String fileSaveNm; |
||||||
|
|
||||||
|
@Column(name="FILE_ORI_NM") |
||||||
|
private String fileOriNm; |
||||||
|
|
||||||
|
@Column(name = "FILE_PATH") |
||||||
|
private String filePath; |
||||||
|
|
||||||
|
@Column(name="FILE_EXT") |
||||||
|
private String fileExt; |
||||||
|
|
||||||
|
// @Temporal(TemporalType.TIMESTAMP)
|
||||||
|
@Column(name="FILE_SIZE") |
||||||
|
private String fileSize; |
||||||
|
|
||||||
|
// @Temporal(TemporalType.TIMESTAMP)
|
||||||
|
@Column(name="DEL_YN", columnDefinition = "TIMESTAMP") |
||||||
|
private Instant delYn; |
||||||
|
|
||||||
|
@Column(name="DEL_USER_ID") |
||||||
|
private String delUserId; |
||||||
|
|
||||||
|
@Column(name="DEL_DT") |
||||||
|
private Instant delDt; |
||||||
|
|
||||||
|
@Column(name="CREATE_USER_ID") |
||||||
|
private String createUserId; |
||||||
|
|
||||||
|
@Column(name="CREATE_DT" , columnDefinition = "TIMESTAMP") |
||||||
|
private Instant createDt; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@ |
|||||||
|
package com.palnet.biz.jpa.repository.com; |
||||||
|
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository; |
||||||
|
import org.springframework.stereotype.Repository; |
||||||
|
|
||||||
|
import com.palnet.biz.jpa.entity.ComFileBas; |
||||||
|
|
||||||
|
@Repository |
||||||
|
public interface ComFileBasRepository extends JpaRepository<ComFileBas, String>{ |
||||||
|
|
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue