"""Auto-generated ECM model classes for cabinet "Unittest_DMS".

DO NOT EDIT — regenerate with generate_ecm_models.py.
"""

from datetime import date, datetime, time

from ecmind_blue_client.ecm.model import (
    ECMDocumentModel,
    ECMField,
    ECMFolderModel,
    ECMRegisterModel,
    ECMTableField,
    ECMTableRowModel,
)


class Unittest_DMS(ECMFolderModel):
    _internal_name_ = "Unittest_DMS"

    Name: ECMField[str] = ECMField(str, mandatory=True)


class Unittest_DMS_Register(ECMRegisterModel):
    _internal_name_ = "Unittest_DMS_Register"

    Name: ECMField[str] = ECMField(str, mandatory=True)


class Unittest_DMS_Subregister(ECMRegisterModel):
    _internal_name_ = "Unittest_DMS_Subregister"

    Name: ECMField[str] = ECMField(str, mandatory=True)


class Unittest_DMS_Document_TableFieldRow(ECMTableRowModel):
    TableCol1: ECMField[str] = ECMField(str, default=None)
    TableCol2: ECMField[int] = ECMField(int, default=None)
    TableCol3: ECMField[date] = ECMField(date, default=None)
    TableCol4: ECMField[float] = ECMField(float, default=None)

class Unittest_DMS_Document(ECMDocumentModel):
    _internal_name_ = "Unittest_DMS_Document"

    Name: ECMField[str] = ECMField(str, mandatory=True)
    StringField: ECMField[str] = ECMField(str, default=None)
    DateField: ECMField[date] = ECMField(date, default=None)
    DateTimeField: ECMField[datetime] = ECMField(datetime, default=None)
    DoubleField: ECMField[float] = ECMField(float, default=None)
    CheckboxField: ECMField[bool] = ECMField(bool, default=None)
    RadioField1: ECMField[int] = ECMField(int, default=None)
    RadioField2: ECMField[int] = ECMField(int, default=None)
    OSID: ECMField[int] = ECMField(int, default=None)
    TimeField: ECMField[time] = ECMField(time, default=None)
    TableField: ECMTableField[Unittest_DMS_Document_TableFieldRow] = ECMTableField(default_factory=list)
