Banner.java 1.89 KB
Newer Older
licc's avatar
licc committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package cn.wisenergy.model.app;

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

import java.io.Serializable;
import java.util.Date;

/**
 * @ Description: 广告实体类
 * @ Author     : 86187
 * @ Date       : 2021/1/7 16:01
 */
@Data
@ApiModel(value = "Advertising")
licc's avatar
licc committed
17
public class Banner implements Serializable {
liaoanyuan's avatar
liaoanyuan committed
18

licc's avatar
licc committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
    private static final long serialVersionUID = 5513428780946937905L;

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

    /**
     * 合作公司名称
     */
    @ApiModelProperty(value = "合作公司名称",name = "companyName")
    private String companyName;

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

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

    /**
     * 是否有宣传图 0:没有 1:有
     */
    @ApiModelProperty(value = "是否有宣传图 0:没有 1:有",name = "isHaveImage")
    private Integer isHaveImage;

    /**
52
     * 广告类型: 1:pc顶部广告 2:pc底部广告 3:App广告
licc's avatar
licc committed
53
     */
54
    @ApiModelProperty(value = "广告类型: 1:pc顶部广告 2:pc底部广告 3:App广告",name = "type")
licc's avatar
licc committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
    private Integer type;

    /**
     * 广告图片url
     */
    @ApiModelProperty(value = "广告图片url",name = "image")
    private String image;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",name = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间",name = "updateTime")
    private Date updateTime;
cy's avatar
cy committed
74 75 76 77 78 79

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题",name = "title")
    private String title;
80 81


licc's avatar
licc committed
82
}