package com.bcxin.tenant.open.domains.dtos;

import lombok.Data;

import java.sql.Timestamp;
import java.util.Collection;

@Data
public class RollCallEmployeeGroupSearchDTO {
    private long rollCallId;

    private String stationId;
    private String stationName;
    private String superviseDepartName;
    private Collection<String> stationTypes;
    private String organizationName;
    private Timestamp createdTime;
    private int countOfSuccess;
    private int countOfFailed;
    private String actionEmployeeName;

    public int getCountOfMembers() {
        return this.getCountOfSuccess() + this.getCountOfFailed();
    }
}
