Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Nov 5, 2024
1 parent 6730dda commit 1925add
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private LicenseTO loadLicense(LicenseEntity entity) throws IOException {
LicenseTO licenseTO = new LicenseTO();
licenseTO.setApplicant(properties.getProperty("enterprise.license.user"));
licenseTO.setSn(properties.getProperty("enterprise.license.number"));
licenseTO.setCompatible(properties.getProperty("enterprise.compatible"));
licenseTO.setExpireTime(entity.getExpireTime());
licenseTO.setTrialDuration(entity.getTrialDuration());
licenseTO.setContact(entity.getContact());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class LicenseTO {
* 产品供应商
*/
private String vendor;
private String compatible;

public String getApplicant() {
return applicant;
Expand Down Expand Up @@ -88,4 +89,12 @@ public String getVendor() {
public void setVendor(String vendor) {
this.vendor = vendor;
}

public String getCompatible() {
return compatible;
}

public void setCompatible(String compatible) {
this.compatible = compatible;
}
}

0 comments on commit 1925add

Please sign in to comment.