package com.ydtech.modules.admin.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 java.io.Serializable; import lombok.Data; /** * 轮播图表 * * @TableName sys_carousel */ @TableName(value = "sys_carousel") @Data public class SysCarousel implements Serializable { /** * */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 主题 */ @TableField(value = "title") private String title; /** * 跳转链接 */ @TableField(value = "url") private String url; /** * 排序 */ @TableField(value = "sort") private Integer sort; /** * 是否启用 */ @TableField(value = "is_enable") private Integer enable; /** * 颜色 */ @TableField(value = "color") private String color; @TableField(value = "image") private String image; @TableField(exist = false) private static final long serialVersionUID = 1L; }