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.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * web-client
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AlarmRecordAddCmd extends Command {
    @ApiModelProperty(value = "告警编号", name = "alarmNo")
    private String alarmNo;

    @ApiModelProperty(value = "FindS告警id", name = "findsAlarmId")
    private Long findsAlarmId;

    @ApiModelProperty(value = "告警类型编码", name = "alarmCode")
    private String alarmCode;

    @ApiModelProperty(value = "告警名称", name = "alarmName")
    private String alarmName;

    @ApiModelProperty(value = "告警等级", name = "level")
    private Integer level;

    @ApiModelProperty(value = "告警说明", name = "description")
    private String description;

    @ApiModelProperty(value = "处置状态 INIT未处置 CLOSE已处置", name = "disposeStatus")
    private String disposeStatus;

    @ApiModelProperty(value = "处理结果说明", name = "disposeDescription")
    private String disposeDescription;

    @ApiModelProperty(value = "持续时长 秒", name = "duration")
    private Long duration;

    @ApiModelProperty(value = "告警开始时间", name = "startTime")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "告警结束时间", name = "endTime")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "报警开始所在围栏", name = "startFencesJson")
    private String startFencesJson;

    @ApiModelProperty(value = "报警结束所在围栏", name = "endFencesJson")
    private String endFencesJson;

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

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

    @ApiModelProperty(value = "高度", name = "alt")
    private BigDecimal alt;

    @ApiModelProperty(value = "速度", name = "speed")
    private BigDecimal speed;

    @ApiModelProperty(value = "方向", name = "direction")
    private BigDecimal direction;

    @ApiModelProperty(value = "历元时间", name = "gt")
    private LocalDateTime gt;

    @ApiModelProperty(value = "企业id/公司id（公司及子公司数据隔离）", name = "corpinfoId")
    private Long 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 = "firstIdCardNo")
    private String firstIdCardNo;

    @ApiModelProperty(value = "首个告警人员工号快照", name = "firstStaffNoSnapshot")
    private String firstStaffNoSnapshot;

    @ApiModelProperty(value = "首个告警人员姓名快照", name = "firstStaffNameSnapshot")
    private String firstStaffNameSnapshot;

    @ApiModelProperty(value = "告警关联终端号列表", name = "terminalNoListJson")
    private String terminalNoListJson;

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

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