package com.hc.business.model;

import java.io.Serializable;

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

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

@Data
@ApiModel(value = "反馈附件")
public class UserAdviseAttachment implements Serializable {

    private static final long serialVersionUID = -82355042328589053L;


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

    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id", required = true)
    private Integer userAdviseId;

    /**
     * 附件名字
     */
    @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 Integer indexNum;
}
