package com.hc.business.model;

import java.io.Serializable;

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

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Data
public class Msgs implements Serializable {

    private static final long serialVersionUID = 479373014391175501L;


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "ID")
    private Integer msgId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", required = true)
    private String msgTitle;

    /**
     * 标题配图
     */
    @ApiModelProperty(value = "标题配图", required = true)
    private String msgLogo;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", required = true)
    private String msgContent;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间", required = true)
    private Long createTime;
}
