New file |
| | |
| | | package com.dg.core.db.gen.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 轮播图 |
| | | * </p> |
| | | * |
| | | * @author fengjin |
| | | * @since 2022-09-19 |
| | | */ |
| | | @ApiModel("轮播图实体类") |
| | | @Data |
| | | @TableName("automessage_slideshow") |
| | | public class Slideshow implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("主键id") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 图片地址 |
| | | */ |
| | | @ApiModelProperty("图片地址") |
| | | private String url; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * 链接类型(1.暂不设置2.富文本3.微信文章) |
| | | */ |
| | | @ApiModelProperty("链接类型(1.暂不设置2.富文本3.微信文章)") |
| | | private Integer linkType; |
| | | |
| | | /** |
| | | * 文章链接 |
| | | */ |
| | | @ApiModelProperty("文章链接") |
| | | private String link; |
| | | |
| | | /** |
| | | * 文章标题 |
| | | */ |
| | | @ApiModelProperty("文章标题") |
| | | private String title; |
| | | |
| | | /** |
| | | * 文章内容 |
| | | */ |
| | | @ApiModelProperty("文章内容") |
| | | private String content; |
| | | |
| | | |
| | | } |