|
|
@@ -16,6 +16,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|
|
import scot.carricksoftware.grants.BaseEntity;
|
|
|
import scot.carricksoftware.grants.constants.ApplicationConstants;
|
|
|
import scot.carricksoftware.grants.domains.places.Organisation;
|
|
|
+import scot.carricksoftware.grants.domains.places.Place;
|
|
|
import scot.carricksoftware.grants.enums.certificates.CertificateType;
|
|
|
|
|
|
|
|
|
@@ -37,6 +38,16 @@ public class BaseCertificate extends BaseEntity {
|
|
|
@DateTimeFormat(pattern = ApplicationConstants.DATE_TIME_FORMAT)
|
|
|
private String certificateDate;
|
|
|
|
|
|
+ @ManyToOne
|
|
|
+ @JoinColumn(name = "`registration_authority`")
|
|
|
+ private Place registrationAuthority;
|
|
|
+
|
|
|
+ @Column(name = "`volume`")
|
|
|
+ private String volume;
|
|
|
+
|
|
|
+ @Column(name = "`Number`")
|
|
|
+ private String number;
|
|
|
+
|
|
|
@SuppressWarnings("unused")
|
|
|
public String getCertificateNumber() {
|
|
|
return certificateNumber;
|
|
|
@@ -73,4 +84,28 @@ public class BaseCertificate extends BaseEntity {
|
|
|
public void setCertificateType(CertificateType certificateType) {
|
|
|
this.certificateType = certificateType;
|
|
|
}
|
|
|
+
|
|
|
+ public Place getRegistrationAuthority() {
|
|
|
+ return registrationAuthority;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRegistrationAuthority(Place registrationAuthority) {
|
|
|
+ this.registrationAuthority = registrationAuthority;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getVolume() {
|
|
|
+ return volume;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVolume(String volume) {
|
|
|
+ this.volume = volume;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNumber() {
|
|
|
+ return number;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNumber(String number) {
|
|
|
+ this.number = number;
|
|
|
+ }
|
|
|
}
|