from typing import Optional

from src.model.db.base_db_model import BaseDBModel
from src.util.sanitize import sanitize


@sanitize
class UltmarcInstDBModel(BaseDBModel):
    dcf_dsf_inst_cd: Optional[str]
    abolish_ymd: Optional[str]
    delete_sche_reason_cd: Optional[str]
    form_inst_name_kanji: Optional[str]
    inst_addr: Optional[str]
    postal_number: Optional[str]
    inst_phone_number: Optional[str]
    inst_div_name: Optional[str]
    hp_assrt_name: Optional[str]
    prefc_name: Optional[str]
