package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import com.ruoyi.common.core.domain.DlBaseEntity;

/**
 * 轮播图管理对象 dl_base_pic
 * 
 * @author vinjor-m
 * @date 2025-06-23
 */
@TableName("dl_base_pic")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BasePic extends DlBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 站点唯一编码（租户id） */
    @Excel(name = "站点唯一编码", readConverterExp = "租=户id")
    private String tenantId;

}
