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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.yonge.cooleshow.biz.dal.enums.SubjectTypeEnum;
import lombok.Data;

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

import java.io.Serializable;
import java.util.Date;


/**
 * 机构专辑曲目
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" TenantAlbumMusic-机构专辑曲目")
@TableName("tenant_album_music")
public class TenantAlbumMusic implements Serializable {

    @ApiModelProperty("主键ID") 

    @TableId(value = "id_", type = IdType.AUTO)
	    private Long id;

    @ApiModelProperty("机构ID") 
	@TableField(value = "tenant_id_")
    private Long tenantId;

    @ApiModelProperty("声部分类(ENSEMBLE, MUSIC, SUBJECT)") 
	@TableField(value = "subject_type_")
    private SubjectTypeEnum subjectType;

    @ApiModelProperty("机构专辑ID") 
	@TableField(value = "tenant_album_id_")
    private Long tenantAlbumId;

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

    @ApiModelProperty("曲目排序") 
	@TableField(value = "sort_number_")
    private Integer sortNumber;

    @ApiModelProperty("删除标识") 
	@TableField(value = "del_flag_")
    private Boolean delFlag;

    @ApiModelProperty("更新时间") 
	@TableField(value = "update_time_")
    private Date updateTime;

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

    @ApiModelProperty("级别")
    @TableField(value = "level_")
    private String  level;

    @ApiModelProperty("类型")
    @TableField(value = "type_")
    private String  type;

}