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;

/**
 * 按公司分组的告警规则统计结果。
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@Data
public class AlarmRuleCompanyStatCO extends ClientObject {
    @ApiModelProperty(value = "企业id/公司id", name = "corpinfoId")
    private String corpinfoId;

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

    @ApiModelProperty(value = "配置数量", name = "configCount")
    private Integer configCount;

    @ApiModelProperty(value = "启用数量", name = "enabledCount")
    private Integer enabledCount;

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