package cn.reghao.tnb.file.app.zdisk.model.po;

import cn.reghao.jutil.jdk.web.db.BaseObject;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author reghao
 * @date 2025-09-01 14:41:05
 */
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
public class DiskAlbumFile extends BaseObject<Integer> {
    private Long albumId;
    private String sha256sum;
    private Integer pos;

    public DiskAlbumFile(long albumId, DiskFile diskFile, int pos) {
        this.albumId = albumId;
        this.sha256sum = diskFile.getSha256sum();
        this.pos = pos;
    }
}
