50 lines
1.3 KiB
Java
50 lines
1.3 KiB
Java
package com.xscm.moduleutil.bean;
|
|
|
|
import com.chad.library.adapter.base.entity.MultiItemEntity;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
import lombok.Data;
|
|
|
|
/**
|
|
*@author qx
|
|
*@data 2025/5/29
|
|
*@description: 相册列表
|
|
*/
|
|
@Data
|
|
public class AlbumBean implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private String id;//相册id
|
|
|
|
private String name; //相册名称
|
|
|
|
private String image; //相册封面
|
|
|
|
private String pwd; //相册密码
|
|
|
|
private String read_num; //相册阅读数
|
|
private String is_pwd;
|
|
private String is_like;//是否点赞
|
|
private String like_num;//点赞数
|
|
private String count;//图片数量
|
|
private String user_id;
|
|
|
|
private List<ImageList> image_list;
|
|
@Data
|
|
public static class ImageList implements MultiItemEntity , Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
private String id; //图片id
|
|
private String image; //图片地址
|
|
private String content; //图片描述
|
|
private String createtime; //图片创建时间
|
|
private boolean isSelected; // 用于标记是否被选中
|
|
private int itemViewType = 1;
|
|
|
|
@Override
|
|
public int getItemType() {
|
|
return itemViewType;
|
|
}
|
|
}
|
|
}
|