AppInfo.java 3.27 KB
package common.model;

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

/**
 * Created by Administrator on 2017/12/26.
 */
@Entity
public class AppInfo
{

    private Long id;
    private String name;
    private String pkgName;
    private String logoUrl;
    private String company;
    private String os;
    private String location;
    private Integer reyun;
    private String firstCate;
    private String secondCate;
    private String thirdCate;
    private String otherCate;

    @Transient
    private Long newDevice;

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

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

    public String getName()
    {
        return name;
    }

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

    public String getPkgName()
    {
        return pkgName;
    }

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

    public String getLogoUrl()
    {
        return logoUrl;
    }

    public void setLogoUrl(String logUrl)
    {
        this.logoUrl = logUrl;
    }

    public String getCompany()
    {
        return company;
    }

    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getOs()
    {
        return os;
    }

    public void setOs(String os)
    {
        this.os = os;
    }

    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public Integer getReyun()
    {
        return reyun;
    }

    public void setReyun(Integer reyun)
    {
        this.reyun = reyun;
    }

    public String getFirstCate()
    {
        return firstCate;
    }

    public void setFirstCate(String firstCate)
    {
        this.firstCate = firstCate;
    }

    public String getSecondCate()
    {
        return secondCate;
    }

    public void setSecondCate(String secondCate)
    {
        this.secondCate = secondCate;
    }

    public String getThirdCate()
    {
        return thirdCate;
    }

    public void setThirdCate(String thirdCate)
    {
        this.thirdCate = thirdCate;
    }

    public String getOtherCate()
    {
        return otherCate;
    }

    public void setOtherCate(String otherCate)
    {
        this.otherCate = otherCate;
    }

    public Long getNewDevice()
    {
        return newDevice;
    }

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

    @Override
    public String toString()
    {
        return "AppInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pkgName='" + pkgName + '\'' +
                ", logUrl='" + logoUrl + '\'' +
                ", company='" + company + '\'' +
                ", os='" + os + '\'' +
                ", localtion='" + location + '\'' +
                ", reyun=" + reyun +
                ", firstCate=" + firstCate +
                ", secondCate=" + secondCate +
                ", thirdCate=" + thirdCate +
                ", otherCate='" + otherCate + '\'' +
                ", newDevice='" + newDevice + '\'' +
                '}';
    }
}