package com.zcloud.personnel.positioning.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * BI企业在线人员
 *
 * @Author
 * @Date 2026-07-27
 */
@Data
public class BiCompanyOnlinePersonCO extends ClientObject {
    @ApiModelProperty(value = "本平台用户ID，内部员工时返回", name = "userId")
    private Long userId;

    @ApiModelProperty(value = "人员姓名", name = "staffName")
    private String staffName;

    @ApiModelProperty(value = "三方人员编号", name = "staffNo")
    private String staffNo;

    @ApiModelProperty(value = "手机号", name = "mobileNo")
    private String mobileNo;

    @ApiModelProperty(value = "企业id", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "企业名称", name = "corpinfoName")
    private String corpinfoName;

    @ApiModelProperty(value = "是否内部员工", name = "internalEmployee")
    private Boolean internalEmployee;

    @ApiModelProperty(value = "人员类型 INTERNAL内部 TEMP临时", name = "personType")
    private String personType;

    @ApiModelProperty(value = "终端号", name = "terminalNo")
    private String terminalNo;

    @ApiModelProperty(value = "当前位置", name = "currentLocation")
    private String currentLocation;

    @ApiModelProperty(value = "最后定位时间", name = "lastLocationTime")
    private Long lastLocationTime;

    @ApiModelProperty(value = "经度", name = "lon")
    private BigDecimal lon;

    @ApiModelProperty(value = "纬度", name = "lat")
    private BigDecimal lat;

    @ApiModelProperty(value = "人员原始JSON", name = "staffRawJson")
    private String staffRawJson;

    @ApiModelProperty(value = "定位原始JSON", name = "locationRawJson")
    private String locationRawJson;
}
