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;

@ApiModel(value = "二维码")
@Data
public class ZccmQrAccessory implements Serializable {

    private static final long serialVersionUID = -18731097154567834L;


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
     @ApiModelProperty(value = "${column.comment}",required = true)
    private Integer qrId;
     
    /**
    * 课程ID
    */
     @ApiModelProperty(value = "课程ID",required = true)
    private Integer courseId;
     
    /**
    * 二维码索引
    */
     @ApiModelProperty(value = "二维码索引",required = true)
    private Integer qrIndex;
     
    /**
    * 123表示文件，视频，音频
    */
     @ApiModelProperty(value = "123表示文件，视频，音频",required = true)
    private Integer qrType;
     
    /**
    * 章节ID
    */
     @ApiModelProperty(value = "章节ID",required = true)
    private Integer chapterId;
     
    /**
    * 文件名
    */
     @ApiModelProperty(value = "文件名",required = true)
    private String fileName;
     
    /**
    * 文件url地址
    */
     @ApiModelProperty(value = "文件url地址",required = true)
    private String fileUrl;
     
    /**
    * 二维码地址
    */
     @ApiModelProperty(value = "二维码地址",required = true)
    private String qrUrl;
}
