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

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.yonge.toolset.base.enums.BaseEnum;

/**
 * Description 曲目音频类型 1：mp3,2:midi,3:mp3_metronome
 *
 * @author liujunchi
 * @date 2022-04-01
 */
public enum AudioTypeEnum implements BaseEnum<String,AudioTypeEnum> {


    MP3("MP3","mp3"),
    MIDI("MIDI","midi"),
    MP3_METRONOME("MP3_METRONOME","mp3_metronome");
    @EnumValue
    private String code;
    private String msg;

    AudioTypeEnum(String code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
