package org.dromara.system.domain.bo;

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

/**
 * 底部主导航表业务对象 vs_nav_bottom_main
 *
 * @author system
 * @date 2025-01-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = VsNavBottomMain.class, reverseConvertGenerate = false)
public class VsNavBottomMainBo extends BaseEntity {

    /**
     * 导航ID
     */
    @NotNull(message = "导航ID不能为空", groups = { EditGroup.class })
    private Long navId;

    /**
     * 导航名称
     */
    @NotBlank(message = "导航名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 类型 (1弹窗，2全屏广告，3轮播图，4金刚区)
     */
    private String type;

    /**
     * 导航图标
     */
    @NotBlank(message = "导航图标不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pic;

    /**
     * 跳转类型（1跳转链接 2不跳转 3小程序内链 4小程序外链 5H5外链 6公众号文章  7电话拨号）
     */
    @NotNull(message = "跳转类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer jumpType;

    /**
     * 跳转路径
     */
    private String jumpPath;

    /**
     * 小程序AppID
     */
    private String appId;

    /**
     * 排序号
     */
    @NotNull(message = "排序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sortNum;

    /**
     * 状态（0正常 1停用）
     */
    private Integer status;

    /**
     * 显示标志
     */
    private Integer showFlag;
}
