BannerDto.java 1.21 KB
Newer Older
liaoanyuan's avatar
liaoanyuan committed
1 2 3 4 5 6 7 8
package cn.wisenergy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

licc's avatar
licc committed
9 10 11
/**
 * @author 86187
 */
liaoanyuan's avatar
liaoanyuan committed
12 13 14 15 16 17 18 19 20 21
@Data
@ApiModel(value = "BannerDto")
public class BannerDto {

    /**
     *  广告id
     */
    @ApiModelProperty(value = "广告id",name = "id")
    private Integer id;

liaoanyuan's avatar
liaoanyuan committed
22

liaoanyuan's avatar
liaoanyuan committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    /**
     * 广告类型: 1:顶部广告 2:底部广告
     */
    @ApiModelProperty(value = "广告类型: 1:顶部广告 2:底部广告",name = "type")
    private Integer type;

    /**
     * 投放状态 0:暂停中 1:投放中
     */
    @ApiModelProperty(value = "投放状态 0:暂停中 1:投放中",name = "status")
    private Integer status;

    /**
     * 网址
     */
    @ApiModelProperty(value = "网址",name = "website")
    private String website;

41 42 43 44 45 46
    /**
     * 广告图片url
     */
    @ApiModelProperty(value = "广告图片url",name = "image")
    private String image;

liaoanyuan's avatar
liaoanyuan committed
47 48 49 50 51
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间",name = "updateTime")
    private Date updateTime;
cy's avatar
cy committed
52 53 54 55 56 57

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题",name = "title")
    private String title;
liaoanyuan's avatar
liaoanyuan committed
58
}