package cn.reghao.tnb.content.app.vod.model.po;

import cn.reghao.jutil.jdk.db.BaseObject;
import cn.reghao.tnb.content.app.vod.model.dto.AlbumActionDto;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author reghao
 * @date 2024-10-31 13:57:28
 */
@NoArgsConstructor
@Getter
public class PostItem extends BaseObject<Integer> {
    private Long albumId;
    private String postId;
    private Integer pos;
    private LocalDateTime addedAt;

    public PostItem(long albumId, String postId) {
        this.albumId = albumId;
        this.postId = postId;
        this.pos = 1;
        this.addedAt = LocalDateTime.now();
    }
}
