package qa.qcri.mm.api.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: jlucas
 * Date: 6/11/14
 * Time: 4:37 PM
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "client_app_deployment")
public class ClientAppDeployment implements Serializable {
    private static final long serialVersionUID = -5527566248002296042L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long deploymentID;

    @Column (name = "name", nullable = false)
    private String name;

    @Column (name = "status", nullable = false)
    private int status;


    @Column (name = "client_app_id", nullable = false)
    private Long clientAppID;

    public Long getDeploymentID() {
        return deploymentID;
    }

    public void setDeploymentID(Long deploymentID) {
        this.deploymentID = deploymentID;
    }

    public String getName() {
        return name;
    }

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

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Long getClientAppID() {
        return clientAppID;
    }

    public void setClientAppID(Long clientAppID) {
        this.clientAppID = clientAppID;
    }
}
