package com.zcloud.personnel.positioning.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * web-client
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TerminalAddCmd extends Command {
    @ApiModelProperty(value = "终端号", name = "terminalNo")
    private String terminalNo;

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

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

    @ApiModelProperty(value = "设备类型 CARD定位卡 APP手机APP TERMINAL终端 OTHER其他", name = "deviceType")
    private String deviceType;

    @ApiModelProperty(value = "APP账号或手机号", name = "appAccount")
    private String appAccount;

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

    @ApiModelProperty(value = "校验码", name = "checkCode")
    private String checkCode;

    @ApiModelProperty(value = "企业id/公司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 = "是否启用", name = "enable")
    private Integer enable;

    @ApiModelProperty(value = "当前绑定人员身份证号，关联资质库人员视图", name = "bindIdCardNo")
    private String bindIdCardNo;

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

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

    @ApiModelProperty(value = "最后同步时间", name = "lastSyncTime")
    private LocalDateTime lastSyncTime;

    @ApiModelProperty(value = "第三方原始数据", name = "rawJson")
    private String rawJson;
}
