""" Options: Date: 2025-04-04 17:21:41 Version: 5.140 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.clubmanagercentral.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: FindBranchCreated.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BranchCreatedInstance: branch_created_id: int = 0 parent_branch_id: int = 0 parent_member_id: int = 0 child_branch_id: int = 0 discount_percent: Optional[int] = None commission_percent: Optional[int] = None created_by_user_id: int = 0 created: Optional[datetime.datetime] = None deleted: Optional[datetime.datetime] = None deleted_by_user_id: Optional[int] = None created_user_id: Optional[int] = None # @Route("/api/Query/BranchCreated") # @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BranchCreated") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FindBranchCreated(QueryDb[BranchCreatedInstance], IReturn[QueryResponse[BranchCreatedInstance]]): pass