AppInfo.java 3.27 KB
Newer Older
zhangxiaoyan committed
1 2 3 4 5
package common.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
zhangxiaoyan committed
6
import javax.persistence.Transient;
zhangxiaoyan committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

/**
 * 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;

zhangxiaoyan committed
28 29 30
    @Transient
    private Long newDevice;

zhangxiaoyan committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
    @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;
    }

zhangxiaoyan committed
153 154 155 156 157 158 159 160 161 162
    public Long getNewDevice()
    {
        return newDevice;
    }

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

zhangxiaoyan committed
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
    @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 + '\'' +
zhangxiaoyan committed
179
                ", newDevice='" + newDevice + '\'' +
zhangxiaoyan committed
180 181 182
                '}';
    }
}