package com.cmvr.tts.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmvr.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 语料分类对象 tts_corpus_category
 *
 * @author cmvr
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tts_corpus_category")
@ApiModel("语料分类请求对象")
public class CorpusCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    @TableId(value = "id")
    private String id;

    /**
     * 父分类ID
     */
    @ApiModelProperty("父分类ID")
    private String parentId;

    /**
     * 分类名称
     */
    @ApiModelProperty("分类名称")
    private String categoryName;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sortOrder;
}
