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 MsgsAttachment implements Serializable {

    private static final long serialVersionUID = 237923978139526721L;


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

    /**
     * 提醒id
     */
    @ApiModelProperty(value = "提醒id", required = true)
    private Integer msgId;

    /**
     * 附件名字
     */
    @ApiModelProperty(value = "附件名字", required = true)
    private String name;

    /**
     * 附件介绍
     */
    @ApiModelProperty(value = "附件介绍", required = true)
    private String content;

    /**
     * 附件地址
     */
    @ApiModelProperty(value = "附件地址", required = true)
    private String url;

    /**
     * 索引
     */
    @ApiModelProperty(value = "索引", required = true)
    private Object indexNum;
}
