com.flowcentraltech.flowcentral.system.data.LicenseEntryDef Maven / Gradle / Ivy
/*
* Copyright 2021-2024 FlowCentral Technologies Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.flowcentraltech.flowcentral.system.data;
import java.util.Date;
import com.flowcentraltech.flowcentral.common.constants.LicenseStatus;
/**
* License entry definition.
*
* @author FlowCentral Technologies Limited
* @since 1.0
*/
public class LicenseEntryDef {
private String featureCode;
private String featureDesc;
private Date issueDate;
private Date expiryDate;
private LicenseStatus status;
private Integer capacity;
public LicenseEntryDef(String featureCode, String featureDesc, Date issueDate, Date expiryDate,
LicenseStatus status, Integer capacity) {
this.featureCode = featureCode;
this.featureDesc = featureDesc;
this.issueDate = issueDate;
this.expiryDate = expiryDate;
this.status = status;
this.capacity = capacity;
}
public String getFeatureCode() {
return featureCode;
}
public String getFeatureDesc() {
return featureDesc;
}
public Date getIssueDate() {
return issueDate;
}
public Date getExpiryDate() {
return expiryDate;
}
public LicenseStatus getStatus() {
return status;
}
public Integer getCapacity() {
return capacity;
}
@Override
public String toString() {
return "LicenseEntryDef [featureCode=" + featureCode + ", featureDesc=" + featureDesc + ", issueDate="
+ issueDate + ", expiryDate=" + expiryDate + ", status=" + status + ", capacity=" + capacity + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy