<gh_stars>1-10
from datetime import datetime

from eventz.messages import Command


class CreateExample(Command):
    __version__: int = 1

    def __init__(
        self,
        aggregate_id: str,
        param_one: int,
        param_two: str,
        __msgid__: str = None,
        __timestamp__: datetime = None,
    ):
        super().__init__(aggregate_id, __msgid__, __timestamp__)
        self.param_one: int = param_one
        self.param_two: str = param_two


class UpdateExample(Command):
    __version__: int = 1

    def __init__(
        self,
        aggregate_id: str,
        param_one: int,
        param_two: str,
        __msgid__: str = None,
        __timestamp__: datetime = None,
    ):
        super().__init__(aggregate_id, __msgid__, __timestamp__)
        self.param_one: int = param_one
        self.param_two: str = param_two

from datetime import datetime

from eventz.messages import Command


class CreateExample(Command):
    __version__: int = 1

    def __init__(
        self,
        aggregate_id: str,
        param_one: int,
        param_two: str,
        __msgid__: str = None,
        __timestamp__: datetime = None,
    ):
        super().__init__(aggregate_id, __msgid__, __timestamp__)
        self.param_one: int = param_one
        self.param_two: str = param_two


class UpdateExample(Command):
    __version__: int = 1

    def __init__(
        self,
        aggregate_id: str,
        param_one: int,
        param_two: str,
        __msgid__: str = None,
        __timestamp__: datetime = None,
    ):
        super().__init__(aggregate_id, __msgid__, __timestamp__)
        self.param_one: int = param_one
        self.param_two: str = param_two