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

import cn.reghao.jutil.validator.ValidEnum;
import cn.reghao.oss.sdk.model.constant.ObjectType;
import lombok.Getter;

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

/**
 * @author reghao
 * @date 2023-10-10 14:10:34
 */
@Getter
public class CollectData {
    private Long favlistId;
    @NotBlank
    private String contentId;
    @ValidEnum(value = ObjectType.class, message = "内容类型不正确")
    private Integer contentType;
    @NotNull
    private Boolean collected;
}
