package shop.alien.entity.store.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("注销冷静期完成结果")
public class AccountLogoutCompleteResultVo {

    @ApiModelProperty("成功条数")
    private int successCount;

    @ApiModelProperty("失败条数")
    private int failCount;

    @ApiModelProperty("跳过条数（未满7天且未 force）")
    private int skippedCount;

    @ApiModelProperty("明细")
    private List<String> details = new ArrayList<>();

    public void addDetail(String detail) {
        details.add(detail);
    }
}
