package org.saiku.web.rest.bisone;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by will on 15-8-27.
 */
public class SoneLicense implements Serializable {

    private static final long serialVersionUID = -1;
    public static final String TYPE_LIFETIME = "lifetime";
    public static final String TYPE_SINGLE_VERSION = "single-version";
    public static final String TYPE_TRIAL = "trial";
    public static final String TYPE_FULL = "full";
    public static final String TYPE_FULL_MAX_MEM = "full-maxmem";
    private String email = "bisone@github.com";
    private Date expiration = new Date();
    private String licenseNumber = "1234567";
    private String licenseType = TYPE_FULL_MAX_MEM;
    private String name = "BISONE";
    private String version = "1.0";

    private int memoryLimit=0;
    private String hostname="sone";
    private int userLimit=0;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getExpiration() {
        return expiration;
    }

    public void setExpiration(Date expiration) {
        this.expiration = expiration;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getLicenseType() {
        return licenseType;
    }

    public void setLicenseType(String licenseType) {
        this.licenseType = licenseType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}

@@ -227,244 +227,29 @@
  = -
-1;%0A    public static final String TYPE_LIFETIME = %22lifetime%22;%0A    public static final String TYPE_SINGLE_VERSION = %22single-version%22;%0A    public static final String TYPE_TRIAL = %22trial%22;%0A    public static final String TYPE_FULL = %22full%22;
+200000188776554441l;%0A
 %0A   

修复js问题，由于schema不规范，所以显示不出foodmart