|
@@ -29,49 +29,45 @@ import org.apache.mybatis.jpa.persistence.JpaBaseEntity;
|
|
|
@Entity
|
|
|
@Table(name = "MXK_INSTITUTIONS")
|
|
|
public class Institutions extends JpaBaseEntity implements Serializable {
|
|
|
-
|
|
|
- /**
|
|
|
- *
|
|
|
- */
|
|
|
private static final long serialVersionUID = -2375872012431214098L;
|
|
|
-
|
|
|
+
|
|
|
@Id
|
|
|
- @Column
|
|
|
- @GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
|
|
|
+ @Column
|
|
|
+ @GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
|
|
|
private String id;
|
|
|
@Column
|
|
|
private String name;
|
|
|
@Column
|
|
|
private String fullName;
|
|
|
@Column
|
|
|
- private String division;
|
|
|
- @Column
|
|
|
- private String country;
|
|
|
- @Column
|
|
|
- private String region;
|
|
|
- @Column
|
|
|
- private String locality;
|
|
|
- @Column
|
|
|
- private String street;
|
|
|
- @Column
|
|
|
- private String address;
|
|
|
- @Column
|
|
|
- private String contact;
|
|
|
- @Column
|
|
|
- private String postalCode;
|
|
|
- @Column
|
|
|
- private String phone;
|
|
|
- @Column
|
|
|
- private String fax;
|
|
|
- @Column
|
|
|
- private String email;
|
|
|
-
|
|
|
- @Column
|
|
|
- private String description;
|
|
|
-
|
|
|
- @Column
|
|
|
- private int status;
|
|
|
-
|
|
|
+ private String division;
|
|
|
+ @Column
|
|
|
+ private String country;
|
|
|
+ @Column
|
|
|
+ private String region;
|
|
|
+ @Column
|
|
|
+ private String locality;
|
|
|
+ @Column
|
|
|
+ private String street;
|
|
|
+ @Column
|
|
|
+ private String address;
|
|
|
+ @Column
|
|
|
+ private String contact;
|
|
|
+ @Column
|
|
|
+ private String postalCode;
|
|
|
+ @Column
|
|
|
+ private String phone;
|
|
|
+ @Column
|
|
|
+ private String fax;
|
|
|
+ @Column
|
|
|
+ private String email;
|
|
|
+
|
|
|
+ @Column
|
|
|
+ private String description;
|
|
|
+
|
|
|
+ @Column
|
|
|
+ private int status;
|
|
|
+
|
|
|
@Column
|
|
|
private String logo;
|
|
|
@Column
|
|
@@ -80,176 +76,222 @@ public class Institutions extends JpaBaseEntity implements Serializable {
|
|
|
private String consoleTitle;
|
|
|
@Column
|
|
|
private String domain;
|
|
|
- @Column
|
|
|
- private String captcha;
|
|
|
- @Column
|
|
|
- private String captchaSupport;
|
|
|
- @Column
|
|
|
- private String defaultUri;
|
|
|
-
|
|
|
- @Column
|
|
|
- String createdBy;
|
|
|
- @Column
|
|
|
- String createdDate;
|
|
|
- @Column
|
|
|
- String modifiedBy;
|
|
|
- @Column
|
|
|
- String modifiedDate;
|
|
|
-
|
|
|
+ @Column
|
|
|
+ private String captcha;
|
|
|
+ @Column
|
|
|
+ private String captchaSupport;
|
|
|
+ @Column
|
|
|
+ private String defaultUri;
|
|
|
+
|
|
|
+ @Column
|
|
|
+ String createdBy;
|
|
|
+ @Column
|
|
|
+ String createdDate;
|
|
|
+ @Column
|
|
|
+ String modifiedBy;
|
|
|
+ @Column
|
|
|
+ String modifiedDate;
|
|
|
+
|
|
|
public Institutions() {
|
|
|
super();
|
|
|
}
|
|
|
+
|
|
|
public String getId() {
|
|
|
return id;
|
|
|
}
|
|
|
+
|
|
|
public void setId(String id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
+
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
+
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
+
|
|
|
public String getFullName() {
|
|
|
return fullName;
|
|
|
}
|
|
|
+
|
|
|
public void setFullName(String fullName) {
|
|
|
this.fullName = fullName;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public String getLogo() {
|
|
|
return logo;
|
|
|
}
|
|
|
+
|
|
|
public void setLogo(String logo) {
|
|
|
this.logo = logo;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public String getTitle() {
|
|
|
return title;
|
|
|
}
|
|
|
+
|
|
|
public void setTitle(String title) {
|
|
|
this.title = title;
|
|
|
}
|
|
|
+
|
|
|
public String getConsoleTitle() {
|
|
|
return consoleTitle;
|
|
|
}
|
|
|
+
|
|
|
public void setConsoleTitle(String consoleTitle) {
|
|
|
this.consoleTitle = consoleTitle;
|
|
|
}
|
|
|
+
|
|
|
public String getDomain() {
|
|
|
return domain;
|
|
|
}
|
|
|
+
|
|
|
public void setDomain(String domain) {
|
|
|
this.domain = domain;
|
|
|
}
|
|
|
+
|
|
|
public String getDivision() {
|
|
|
return division;
|
|
|
}
|
|
|
+
|
|
|
public void setDivision(String division) {
|
|
|
this.division = division;
|
|
|
}
|
|
|
+
|
|
|
public String getCountry() {
|
|
|
return country;
|
|
|
}
|
|
|
+
|
|
|
public void setCountry(String country) {
|
|
|
this.country = country;
|
|
|
}
|
|
|
+
|
|
|
public String getRegion() {
|
|
|
return region;
|
|
|
}
|
|
|
+
|
|
|
public void setRegion(String region) {
|
|
|
this.region = region;
|
|
|
}
|
|
|
+
|
|
|
public String getLocality() {
|
|
|
return locality;
|
|
|
}
|
|
|
+
|
|
|
public void setLocality(String locality) {
|
|
|
this.locality = locality;
|
|
|
}
|
|
|
+
|
|
|
public String getStreet() {
|
|
|
return street;
|
|
|
}
|
|
|
+
|
|
|
public void setStreet(String street) {
|
|
|
this.street = street;
|
|
|
}
|
|
|
+
|
|
|
public String getAddress() {
|
|
|
return address;
|
|
|
}
|
|
|
+
|
|
|
public void setAddress(String address) {
|
|
|
this.address = address;
|
|
|
}
|
|
|
+
|
|
|
public String getContact() {
|
|
|
return contact;
|
|
|
}
|
|
|
+
|
|
|
public void setContact(String contact) {
|
|
|
this.contact = contact;
|
|
|
}
|
|
|
+
|
|
|
public String getPostalCode() {
|
|
|
return postalCode;
|
|
|
}
|
|
|
+
|
|
|
public void setPostalCode(String postalCode) {
|
|
|
this.postalCode = postalCode;
|
|
|
}
|
|
|
+
|
|
|
public String getPhone() {
|
|
|
return phone;
|
|
|
}
|
|
|
+
|
|
|
public void setPhone(String phone) {
|
|
|
this.phone = phone;
|
|
|
}
|
|
|
+
|
|
|
public String getFax() {
|
|
|
return fax;
|
|
|
}
|
|
|
+
|
|
|
public void setFax(String fax) {
|
|
|
this.fax = fax;
|
|
|
}
|
|
|
+
|
|
|
public String getEmail() {
|
|
|
return email;
|
|
|
}
|
|
|
+
|
|
|
public void setEmail(String email) {
|
|
|
this.email = email;
|
|
|
}
|
|
|
+
|
|
|
public String getDescription() {
|
|
|
return description;
|
|
|
}
|
|
|
+
|
|
|
public void setDescription(String description) {
|
|
|
this.description = description;
|
|
|
}
|
|
|
+
|
|
|
public int getStatus() {
|
|
|
return status;
|
|
|
}
|
|
|
+
|
|
|
public void setStatus(int status) {
|
|
|
this.status = status;
|
|
|
}
|
|
|
+
|
|
|
public String getCreatedBy() {
|
|
|
return createdBy;
|
|
|
}
|
|
|
+
|
|
|
public void setCreatedBy(String createdBy) {
|
|
|
this.createdBy = createdBy;
|
|
|
}
|
|
|
+
|
|
|
public String getCreatedDate() {
|
|
|
return createdDate;
|
|
|
}
|
|
|
+
|
|
|
public void setCreatedDate(String createdDate) {
|
|
|
this.createdDate = createdDate;
|
|
|
}
|
|
|
+
|
|
|
public String getModifiedBy() {
|
|
|
return modifiedBy;
|
|
|
}
|
|
|
+
|
|
|
public void setModifiedBy(String modifiedBy) {
|
|
|
this.modifiedBy = modifiedBy;
|
|
|
}
|
|
|
+
|
|
|
public String getModifiedDate() {
|
|
|
return modifiedDate;
|
|
|
}
|
|
|
+
|
|
|
public void setModifiedDate(String modifiedDate) {
|
|
|
this.modifiedDate = modifiedDate;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
public String getCaptcha() {
|
|
|
return captcha;
|
|
|
}
|
|
|
+
|
|
|
public void setCaptcha(String captcha) {
|
|
|
this.captcha = captcha;
|
|
|
}
|
|
@@ -257,21 +299,23 @@ public class Institutions extends JpaBaseEntity implements Serializable {
|
|
|
public String getCaptchaSupport() {
|
|
|
return captchaSupport;
|
|
|
}
|
|
|
-
|
|
|
- public boolean isCaptchaSupport() {
|
|
|
+
|
|
|
+ public boolean isTrueCaptchaSupport() {
|
|
|
return "YES".equalsIgnoreCase(captchaSupport);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
public void setCaptchaSupport(String captchaSupport) {
|
|
|
this.captchaSupport = captchaSupport;
|
|
|
}
|
|
|
+
|
|
|
public String getDefaultUri() {
|
|
|
return defaultUri;
|
|
|
}
|
|
|
+
|
|
|
public void setDefaultUri(String defaultUri) {
|
|
|
this.defaultUri = defaultUri;
|
|
|
}
|
|
|
+
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
StringBuilder builder = new StringBuilder();
|