package cn.quantgroup.xyqb.entity;

import lombok.Data;

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

/**
 * Created by 11 on 2017/3/22.
 */
@Data
@Entity
@Table(name = "login_record")
public class LoginRecord extends BaseEntity implements Serializable {
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "type")
    private String type;

    @Column(name = "qg_tenant_id")
    private Long qgTenantId;

    @Column(name = "vcc_channel")
    private Long vccChannel;

    @Column(name = "user_terminal")
    private String userTerminal;

    @Column(name = "ip")
    private String ip;

    @Column(name = "app_name")
    private String appName;

    @Column(name = "version")
    private String version;

    @Column(name = "user_agent")
    private String userAgent;

    @Column(name = "device_id")
    private String deviceId;

    @Column(name = "app_channel")
    private String appChannel;
}
