
from dataclasses import dataclass

from marshmallow_dataclass import class_schema

from semantha_sdk.model.semantha_entity import SemanthaModelEntity, SemanthaSchema

from semantha_sdk.model.cell_type import CellType
from semantha_sdk.model.document_type_config import DocumentTypeConfig
from typing import List
from typing import Optional


@dataclass(frozen=True)
class DocumentType(SemanthaModelEntity):
    """ author semantha, this is a generated class do not change manually! """
    id: Optional[str] = None
    name: Optional[str] = None
    celltypes: Optional[List[CellType]] = None
    config: Optional[DocumentTypeConfig] = None

DocumentTypeSchema = class_schema(DocumentType, base_schema=SemanthaSchema)
