package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 首页广告对象 sys_ads
 *
 * @author ruoyi
 * @date 2025-06-03
 */
@Data
@TableName(value = "sys_ads")
@EqualsAndHashCode(callSuper = false)
public class SysAds
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** $column.columnComment */
    private Long id;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String poster;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String redirect;

    /** 状态 0开启  1 关闭 */
    @Excel(name = "状态 0开启  1 关闭")
    private String status;


    private String deleted;

    private Date createTime;
    private Date updateTime;

    private Integer sort;

    private String remark;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPoster(String poster)
    {
        this.poster = poster;
    }

    public String getPoster()
    {
        return poster;
    }
    public void setRedirect(String redirect)
    {
        this.redirect = redirect;
    }

    public String getRedirect()
    {
        return redirect;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDeleted(String deleted)
    {
        this.deleted = deleted;
    }

    public String getDeleted()
    {
        return deleted;
    }

}
