Configuration.java

/*
 * +====================================================================+
 * |         Copyright (C) 2015 Rochester Institute of Technology,      |
 * |            103 Lomb Memorial Drive, Rochester, NY - 14623          |
 * |                        All Rights Reserved.                        |
 * +====================================================================+
 *   FILENAME
 *    Configuration.java
 *
 *   AUTHOR
 *    @author mhickson
 *
 * =====================================================================
 */

package edu.rit.coopeval.model;

import javax.persistence.*;

@Entity
@Table(name = "CONFIGURATION")
public class Configuration extends AuditableEntity {

    @Id
    @Column(name = "CONFIGURATIONID", nullable = false, insertable = true, updatable = true, precision = 0)
    private long configurationId;

    @Column(name = "CONFIGKEY", nullable = true, insertable = true, updatable = true, length = 16)
    private String configKey;

    @Column(name = "CONFIGVALUE", nullable = true, insertable = true, updatable = true, length = 128)
    private String configValue;

    public long getConfigurationId() {
        return configurationId;
    }

    public void setConfigurationId(long configurationId) {
        this.configurationId = configurationId;
    }

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }
}