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