""" Options: Date: 2025-01-08 03:07:21 Version: 8.53 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://blazordiffusion.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: CreateArtifactCommentReport.* #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 class PostReport(str, Enum): OFFENSIVE = 'Offensive' SPAM = 'Spam' NUDITY = 'Nudity' ILLEGAL = 'Illegal' OTHER = 'Other' @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ArtifactCommentReport: id: int = 0 # @References(typeof(ArtifactComment)) artifact_comment_id: int = 0 app_user_id: int = 0 post_report: Optional[PostReport] = None description: Optional[str] = None created_date: datetime.datetime = datetime.datetime(1, 1, 1) # @ValidateRequest(Validator="IsAuthenticated") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class CreateArtifactCommentReport(IReturnVoid, ICreateDb[ArtifactCommentReport]): artifact_comment_id: int = 0 post_report: Optional[PostReport] = None description: Optional[str] = None