package com.zjty.tynotes.job.status.entity;

import com.zjty.tynotes.misc.config.AutoDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zjm
 */
@ApiModel(value = "RedisListSum对象",description="提供数据列表和总数")
@AutoDocument
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisListSum {
    @ApiModelProperty(value = "总数", name = "count", example = "0L")
    private int count;

    @ApiModelProperty(value = "数据列表", name = "eventTitles")
    private List<RedisPersonalWork> eventTitles;

}
