Book_collection追加 (length部分)

This commit is contained in:
2026-10-20 09:48:14 +09:00
parent 2761953159
commit d119c26b64

View File

@@ -31,19 +31,19 @@ public class Book_collectionEntity {
private Integer idBook;
//ISBN
@Column(name = "isbn", nullable = false)
@Column(name = "isbn", nullable = false, length = 13)
private String isBn;
//書籍名
@Column(name = "nm_book", nullable = false)
@Column(name = "nm_book", nullable = false, length = 50)
private String nmBook;
//書籍名よみ
@Column(name = "kn_book", nullable = true)
@Column(name = "kn_book", nullable = true, length = 100)
private String knBook;
//出版社
@Column(name = "publisher", nullable = true)
@Column(name = "publisher", nullable = true, length = 50)
private String pubLisher;
//特記事項
@@ -51,8 +51,8 @@ public class Book_collectionEntity {
private String noteText;
//貸出フラグ -> charに変更する
@Column(name = "flg_lending", length = 1, nullable = false)
private String flgLending;
@Column(name = "flg_lending", nullable = false, columnDefinition = "default 0")
private Character flgLending;
//更新者
@Column(name = "id_update", nullable = false)