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

import cn.reghao.jutil.validator.ValidEnum;
import cn.reghao.tnb.content.api.constant.AlbumAction;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author reghao
 * @date 2024-10-31 14:11:08
 */
@Setter
@Getter
public class AlbumActionDto {
    @NotNull
    private Long albumId;
    @ValidEnum(value = AlbumAction.class, message = "操作类型不正确")
    private Integer action;
    @NotBlank
    private String postId;
}
