package dmp.model;

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

/**
 * Created by zxy on 2017/12/28.
 */
@Entity
public class AppData
{

    private Long id;
    private String pkgName;
    private String ds;
    private Long newDevice;

    @Id
    @GeneratedValue
    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getPkgName()
    {
        return pkgName;
    }

    public void setPkgName(String pkgName)
    {
        this.pkgName = pkgName;
    }

    public String getDs()
    {
        return ds;
    }

    public void setDs(String ds)
    {
        this.ds = ds;
    }

    public Long getNewDevice()
    {
        return newDevice;
    }

    public void setNewDevice(Long newDevice)
    {
        this.newDevice = newDevice;
    }

    @Override
    public String toString()
    {
        return "AppData{" +
                "id=" + id +
                ", pkgName='" + pkgName + '\'' +
                ", ds='" + ds + '\'' +
                ", newDevice=" + newDevice +
                '}';
    }
}
