""" Options: Date: 2024-12-22 21:16:55 Version: 8.51 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: DeleteContact.* #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 Contact: id: int = 0 # @Computed() display_name: Optional[str] = None profile_url: Optional[str] = None first_name: Optional[str] = None last_name: Optional[str] = None salary_expectation: Optional[int] = None job_type: Optional[str] = None availability_weeks: int = 0 preferred_work_type: Optional[EmploymentType] = None preferred_location: Optional[str] = None email: Optional[str] = None phone: Optional[str] = None skills: Optional[List[str]] = None about: Optional[str] = None applications: List[JobApplication] = field(default_factory=list) @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DeleteContact(IReturnVoid, IDeleteDb[Contact]): id: int = 0