package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysAppletIndexSlideshow;

/**
 * 小程序首页轮播图 BO
 *
 * @Author: Trae
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysAppletIndexSlideshow.class, reverseConvertGenerate = false)
public class SysAppletIndexSlideshowBo extends BaseEntity {

    @NotNull(message = "轮播图ID不能为空", groups = { EditGroup.class })
    private Long id;

    @NotNull(message = "OSS资源ID不能为空")
    private Long ossId;

}
