package com.snap.wall;

import java.io.Serializable;

public class Wallpaper implements Serializable {
    private String id;
    private String title;
    private String imageUrl;
    private long viewTime; // 浏览时间戳

    public Wallpaper() {}

    public Wallpaper(String id, String title, String imageUrl, long viewTime) {
        this.id = id;
        this.title = title;
        this.imageUrl = imageUrl;
        this.viewTime = viewTime;
    }

    // Getter和Setter方法
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }

    public String getImageUrl() { return imageUrl; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }

    public long getViewTime() { return viewTime; }
    public void setViewTime(long viewTime) { this.viewTime = viewTime; }
}