package com.xiaoniu.system.platformsettings.advertis.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 广告信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-10 01:59:09
 */
@Getter
@Setter
@TableName("tb_advertis_info")
@Schema(name = "TbAdvertisInfo", description = "广告信息表")
public class TbAdvertisInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "跳转类型（1-微信公众号 2-微信小程序 3-不跳转 4-链接地址）")
    private Integer jumpType;

    @Schema(description = "跳转资源、连接")
    private String jumpResources;

    @Schema(description = "广告位图片")
    private String advertisImage;

    @Schema(description = "广告位置（1-全部 2-首页轮播 3-个人中心 4-首页底部）")
    private String advertisAddress;

    @Schema(description = "类型状态（1-显示 2-隐藏）")
    private Integer status;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private Integer delFlag;

    @Schema(description = "创建者")
    private Long createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private Long updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;
}
