""" Options: Date: 2024-12-29 02:58:55 Version: 8.22 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://data.regent-college.edu #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: FinanceAdjustmentSubmitRequest.* #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 FinanceAdjustmentRateSubmitRequest: rate_id: int = 0 description: Optional[str] = None charge: Decimal = decimal.Decimal(0) credit: Decimal = decimal.Decimal(0) custom_gl: Optional[str] = None # @Route("/Finance/{uuid}/Adjustment/{reporting_term}/Submit", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanceAdjustmentSubmitRequest(IReturn[ResponseStatus]): uuid: Optional[str] = None reporting_term: Optional[str] = None rates: Optional[List[FinanceAdjustmentRateSubmitRequest]] = None description: Optional[str] = None authorizing_uuid: Optional[str] = None is_financial_aid: bool = False added_date: datetime.datetime = datetime.datetime(1, 1, 1)