package shop.alien.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 视频审核配置属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "video.moderation")
public class VideoModerationProperties {
    
    /**
     * 视频审核开关
     */
    private boolean enabled = false;
    
    /**
     * 审核失败时是否阻止商品发布
     */
    private boolean blockOnFailure = true;
}