package cn.reghao.tnb.content.app.data.model.vo;

import cn.reghao.jutil.jdk.web.db.PageList;
import cn.reghao.tnb.content.app.vod.model.po.PostAlbum;
import lombok.*;

/**
 * @author reghao
 * @date 2023-08-19 12:49:28
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
public class ImageAlbumCard {
    private Long albumId;
    private String albumName;
    private String userId;
    private PageList<ImageData> images;

    public ImageAlbumCard(PostAlbum postAlbum, String userIdStr) {
        this.albumId = postAlbum.getAlbumId();
        this.albumName = postAlbum.getAlbumName();
        this.userId = userIdStr;
    }
}
