package com.njcn.pojo.app;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author hongawen
 * @date: 2019/10/25 15:15
 */
@Table(name="APP_INFO_SET")
public class AppInfoSet implements Serializable {

    @Id
    @Column(name="USER_INDEX")
    private String userIndex;

    @Column(name="EVENT_INFO")
    private Integer eventInfo;

    @Column(name="TARGET_INFO")
    private Integer targetInfo;

    @Column(name="DEVICE_INFO")
    private Integer deviceInfo;

    @Column(name="SYSTEM_INFO")
    private Integer systemInfo;

    public Integer getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(Integer deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getUserIndex() {
        return userIndex;
    }

    public void setUserIndex(String userIndex) {
        this.userIndex = userIndex;
    }

    public Integer getEventInfo() {
        return eventInfo;
    }

    public void setEventInfo(Integer eventInfo) {
        this.eventInfo = eventInfo;
    }

    public Integer getTargetInfo() {
        return targetInfo;
    }

    public void setTargetInfo(Integer targetInfo) {
        this.targetInfo = targetInfo;
    }

    public Integer getSystemInfo() {
        return systemInfo;
    }

    public void setSystemInfo(Integer systemInfo) {
        this.systemInfo = systemInfo;
    }

    @Override
    public String toString() {
        return "AppInfoSet{" +
                "userIndex='" + userIndex + '\'' +
                ", eventInfo='" + eventInfo + '\'' +
                ", targetInfo='" + targetInfo + '\'' +
                ", deviceInfo='" + deviceInfo + '\'' +
                ", systemInfo='" + systemInfo + '\'' +
                '}';
    }
}
