package com.zsElectric.boot.business.model.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.zsElectric.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 广告管理实体对象
 *
 * @author wzq
 * @since 2025-11-26 15:57
 */
@Getter
@Setter
@TableName("c_advertising")
public class Advertising extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    private String name;
    /**
     * 状态 (0-禁用 1-启用)
     */
    private Integer status;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 广告位置  1.首页弹框
     */
    private Integer position;
    /**
     * 图片
     */
    private String picture;
    /**
     * 跳转路径
     */
    private String skipUrl;
    /**
     * 创建人ID
     */
    private Long createBy;
    /**
     * 更新人ID
     */
    private Long updateBy;
    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    @TableLogic
    private Integer isDeleted;
}
