Book_collection追加 (length部分)
This commit is contained in:
@@ -31,19 +31,19 @@ public class Book_collectionEntity {
|
|||||||
private Integer idBook;
|
private Integer idBook;
|
||||||
|
|
||||||
//ISBN
|
//ISBN
|
||||||
@Column(name = "isbn", nullable = false)
|
@Column(name = "isbn", nullable = false, length = 13)
|
||||||
private String isBn;
|
private String isBn;
|
||||||
|
|
||||||
//書籍名
|
//書籍名
|
||||||
@Column(name = "nm_book", nullable = false)
|
@Column(name = "nm_book", nullable = false, length = 50)
|
||||||
private String nmBook;
|
private String nmBook;
|
||||||
|
|
||||||
//書籍名よみ
|
//書籍名よみ
|
||||||
@Column(name = "kn_book", nullable = true)
|
@Column(name = "kn_book", nullable = true, length = 100)
|
||||||
private String knBook;
|
private String knBook;
|
||||||
|
|
||||||
//出版社
|
//出版社
|
||||||
@Column(name = "publisher", nullable = true)
|
@Column(name = "publisher", nullable = true, length = 50)
|
||||||
private String pubLisher;
|
private String pubLisher;
|
||||||
|
|
||||||
//特記事項
|
//特記事項
|
||||||
@@ -51,8 +51,8 @@ public class Book_collectionEntity {
|
|||||||
private String noteText;
|
private String noteText;
|
||||||
|
|
||||||
//貸出フラグ -> charに変更する
|
//貸出フラグ -> 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user