package com.bcxin.Infrastructures.models;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class AbnormalPersonnelListDto implements Serializable {

    private String code;

    private String msg;

    private List<Long> ids;

    public void addId(Long id) {
        if (this.ids == null) {
            this.ids = new ArrayList<>();
        }
        this.ids.add(id);
    }
}
