package com.jsc.oscm.entity;

import lombok.Data;

import java.util.Date;

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

@Entity
@Data
public class CloudServer {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String ipPort;
    private String hostName;
    private String nodeName;
    private String location;
    private Date subscribeDate;
    private Date expireDate;
    private String status;
    private Integer running;
    private Integer pending;
    private Integer stop;
    private Integer coreNum;
    private String memory;
    private String storage;
    private String nodeSystem;
    private String userName;
    private String password;
}
