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

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TerminalCardCO extends ClientObject {
    @ApiModelProperty(value = "终端本地ID", name = "id")
    private Long id;

    @ApiModelProperty(value = "定位卡号", name = "terminalNo")
    private String terminalNo;

    @ApiModelProperty(value = "终端名称", name = "terminalName")
    private String terminalName;

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

    @ApiModelProperty(value = "SIM卡号", name = "simCardNo")
    private String simCardNo;

    @ApiModelProperty(value = "公司ID", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "公司名称", name = "corpinfoName")
    private String corpinfoName;

    @ApiModelProperty(value = "组织编码", name = "orgCode")
    private String orgCode;

    @ApiModelProperty(value = "组织名称", name = "orgName")
    private String orgName;

    @ApiModelProperty(value = "启用状态：1启用、0停用", name = "enable")
    private Integer enable;

    @ApiModelProperty(value = "启用状态名称", name = "enableName")
    private String enableName;

    @ApiModelProperty(value = "第三方设备状态", name = "deviceStatus")
    private String deviceStatus;

    @ApiModelProperty(value = "绑定人员身份证号", name = "bindIdCardNo")
    private String bindIdCardNo;

    @ApiModelProperty(value = "绑定人员工号", name = "staffNo")
    private String staffNo;

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

    @ApiModelProperty(value = "绑定人员手机号", name = "staffPhone")
    private String staffPhone;

    @ApiModelProperty(value = "绑定状态", name = "bindStatus")
    private String bindStatus;

    @ApiModelProperty(value = "FindS终端ID", name = "findsTerminalId")
    private Long findsTerminalId;

    @ApiModelProperty(value = "最后定位时间", name = "lastLocationTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLocationTime;

    @ApiModelProperty(value = "最后定位位置名称", name = "lastLocationName")
    private String lastLocationName;

    @ApiModelProperty(value = "最后同步时间", name = "lastSyncTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastSyncTime;

    @ApiModelProperty(value = "同步状态", name = "syncStatus")
    private String syncStatus;

    @ApiModelProperty(value = "备注", name = "remarks")
    private String remarks;
}
