package com.ruoyi.system.model; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.domain.BaseModel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.time.LocalDateTime; /** *

* 轮播图管理 *

* * @author xiaochen * @since 2025-02-07 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("t_banner") @ApiModel(value="TBanner对象", description="轮播图管理") public class TBanner extends BaseModel { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.ASSIGN_ID) private String id; @ApiModelProperty(value = "图片") @TableField("pictures") private String pictures; @ApiModelProperty(value = "权重") @TableField("sort_by") private Integer sortBy; }