package com.muchinfo.mtp3pojos.vo.systemrun;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "LoginLogQueryResult对象", description = "终端登录日志响应")
public class LoginLogQueryResult {

    @ExcelProperty("登录账号")
    @ColumnWidth(20)
    @ApiModelProperty(value = "登录账号")
    private Long logincode;

    @ExcelProperty("客户名称")
    @ColumnWidth(20)
    @ApiModelProperty(value = "客户名称")
    private String accountname;

    @ExcelProperty("所属机构")
    @ColumnWidth(20)
    @ApiModelProperty(value = "所属机构")
    private String areaname;

    @ExcelProperty("所属会员")
    @ColumnWidth(20)
    @ApiModelProperty(value = "所属会员")
    private String membername;

    @ExcelProperty("登录IP")
    @ColumnWidth(20)
    @ApiModelProperty(value = "登录IP")
    private String loginip;

    @ExcelProperty("登录/登出")
    @ColumnWidth(20)
    @ApiModelProperty(value = "登录/登出")
    private Integer funcode;

    @ExcelProperty("时间")
    @ColumnWidth(20)
    @ApiModelProperty(value = "时间")
    private Date operatetime;

    @ExcelProperty("结果")
    @ColumnWidth(20)
    @ApiModelProperty(value = "结果")
    private Integer loginretcode;

    @ExcelProperty("操作类型")
    @ColumnWidth(20)
    @ApiModelProperty(value = "操作类型")
    private Integer operatetype;

    private Long loginflowno;

    @ApiModelProperty(value = "软件版本")
    private String softversion;

    @ApiModelProperty(value = "客户端类型")
    private Integer clienttype;

    @ApiModelProperty(value = "登录设备信息")
    private String deviceid;

    @ApiModelProperty(value = "登录软件环境信息")
    private String environmentinfo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "登录类型")
    private Integer logintype;

    @ApiModelProperty(value = "三方认证ID")
    private Long authid;

    @ApiModelProperty(value = "三方认证类型")
    private Integer authtype;
}
