package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yonge.cooleshow.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 曲谱伴奏表
 * @author yzp
 * @date 2022-03-25 23:46:28
 * @version v1.0
 **/
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "music_sheet_accompaniment-曲谱伴奏表")
public class MusicSheetAccompaniment extends BaseEntity {

    @TableId(value = "id_", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;  //主键ID

    @TableField("music_sheet_id_")
    @ApiModelProperty(value = "曲谱ID")
    private Long musicSheetId;  //曲谱ID

    @TableField("music_subject_")
    @ApiModelProperty(value = "声部")
    private String musicSubjectId;  //声部

    @TableField("audio_file_url_")
    @ApiModelProperty(value = "MP3原声音频文件URL")
    private String audioFileUrl;  //MP3原声音频文件URL

	@TableField("metronome_url_")
	@ApiModelProperty(value = "MP3节拍器伴奏")
	private String metronomeUrl;  //MP3原声音频文件URL

	@TableField("track_")
	@ApiModelProperty(value = "类型")
	private String track;  //MP3原声音频文件URL

    @TableField("sort_number_")
    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;  //排序号

    @TableField("speed_")
    @ApiModelProperty(value = "速度")
    private Integer speed;  //速度

    @TableField("create_time_")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;  //创建时间

    @TableField("create_by_")
    @ApiModelProperty(value = "创建人(老师或者是后台平台用户)")
    private Long createBy;  //创建人(老师或者是后台平台用户)

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}