Compare commits
3 Commits
b5a4317cba
...
a26978a690
| Author | SHA1 | Date | |
|---|---|---|---|
| a26978a690 | |||
| 580850be5a | |||
| 37e9cb3be1 |
@@ -15,6 +15,7 @@ import lombok.AllArgsConstructor;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
//テーブル名
|
||||||
@Table(name = "book_collection")
|
@Table(name = "book_collection")
|
||||||
@Entity
|
@Entity
|
||||||
@Data
|
@Data
|
||||||
@@ -49,9 +50,9 @@ public class Book_collectionEntity {
|
|||||||
@Column(name = "note text", nullable = true)
|
@Column(name = "note text", nullable = true)
|
||||||
private String noteText;
|
private String noteText;
|
||||||
|
|
||||||
//貸出フラグ
|
//貸出フラグ -> charに変更する
|
||||||
@Column(name = "flg_lending", length = 1, nullable = false)
|
@Column(name = "flg_lending", nullable = false, columnDefinition = "default 0")
|
||||||
private String flgLending;
|
private Character flgLending;
|
||||||
|
|
||||||
//更新者
|
//更新者
|
||||||
@Column(name = "id_update", nullable = false)
|
@Column(name = "id_update", nullable = false)
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class Borrow_booksEntity {
|
|||||||
* ステータス
|
* ステータス
|
||||||
* */
|
* */
|
||||||
@Column(name = "status", nullable = false, columnDefinition = "default 1")
|
@Column(name = "status", nullable = false, columnDefinition = "default 1")
|
||||||
private char status;
|
private Character status;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 承認者
|
* 承認者
|
||||||
|
|||||||
Reference in New Issue
Block a user