package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 轮播图
 *
 * @author 科技小王子
 * @since 2024-09-30 22:07:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Swiper对象", description = "轮播图")
@TableName("shop_swiper")
public class Swiper implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "所属页面")
    private String type;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "跳转类型")
    private String jumpType;

    @ApiModelProperty(value = "跳转主键")
    private Integer jumpPk;

    @ApiModelProperty(value = "备注")
    private String comments;

    private String color;

    private String color1;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
