Skip to content

Commit 528080c

Browse files
committed
Caption added to Client Table
1 parent ec09ff4 commit 528080c

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

JavaSource/com/acminds/acuteauto/persistence/entities/AbstractClient.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public abstract class AbstractClient extends
2626

2727
private Integer clientId;
2828
private String clientName;
29+
private String caption;
2930
private String clientDesc;
3031
private Integer yearEstd;
3132
private String registeredName;
@@ -52,6 +53,15 @@ public void setClientName(String clientName) {
5253
this.clientName = clientName;
5354
}
5455

56+
@Column(name = "CAPTION", length = 100)
57+
public String getCaption() {
58+
return this.caption;
59+
}
60+
61+
public void setCaption(String caption) {
62+
this.caption = caption;
63+
}
64+
5565
@Column(name = "CLIENT_DESC", length = 200)
5666
public String getClientDesc() {
5767
return this.clientDesc;

JavaSource/sql/db-schema-core.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ DROP TABLE CLIENT;
5252
CREATE TABLE CLIENT (
5353
CLIENT_ID INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
5454
CLIENT_NAME VARCHAR(60) NOT NULL,
55+
CAPTION VARCHAR(100),
5556
CLIENT_DESC VARCHAR(200),
5657
YEAR_ESTD INT(4),
5758
REGISTERED_NAME VARCHAR(60)

0 commit comments

Comments
 (0)