Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/web-klick.de/dsh/order_model/.archive/ixml/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/web-klick.de/dsh/order_model/.archive/ixml/order_model.py

#!/usr/bin/env python

__author__ = 'Patrick Thomanek'
__maintainer__ = 'Patrick Thomanek'
__email__ = 'patrick.thomanek@photomask.com'
__status__ = 'Development'

from typing import List

from pydantic import BaseModel, Extra, validator

from ordermodel.aim import AIM
from ordermodel.barcode import Barcode
from ordermodel.cd import CD
from ordermodel.general import General
from ordermodel.layer import Layer
from ordermodel.litho import Litho
from ordermodel.registration import Registration
from ordermodel.title import Title


class OrderModel(BaseModel):
    """Order model root class.

    Type hint notation by 'pydantic'.
    (see https://pypi.org/project/pydantic/)

    Attributes:
    """
    general: General

    # [optional]
    layers: List[Layer] = []
    lithos: List[Litho] = []

    titles: List[Title] = []
    barcodes: List[Barcode] = []

    cds: List[CD] = []
    registrations: List[Registration] = []
    aims: List[AIM] = []

    class Config:
        extra = Extra.forbid
    # Todo: Find a way to extend config class with domain specific content.

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net