/* Options: Date: 2025-01-08 03:15:02 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AdminUpdateArtifactCommentReport.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @ValidateRequest(Validator="IsAdmin") open class AdminUpdateArtifactCommentReport : IReturn, IPatchDb { open var id:Int? = null open var postReport:PostReport? = null open var description:String? = null companion object { private val responseType = ArtifactCommentReport::class.java } override fun getResponseType(): Any? = AdminUpdateArtifactCommentReport.responseType } open class ArtifactCommentReport { open var id:Long? = null @References(Type=ArtifactComment::class) open var artifactCommentId:Int? = null open var appUserId:Int? = null open var postReport:PostReport? = null open var description:String? = null open var createdDate:Date? = null } open class ArtifactComment : AuditBase() { open var id:Int? = null open var artifactId:Int? = null open var replyId:Int? = null open var content:String? = null open var upVotes:Int? = null open var downVotes:Int? = null open var votes:Int? = null open var flagReason:String? = null open var notes:String? = null open var refId:String? = null open var appUserId:Int? = null } enum class PostReport { Offensive, Spam, Nudity, Illegal, Other, } @DataContract open class AuditBase { @DataMember(Order=1) open var createdDate:Date? = null @DataMember(Order=2) @Required() open var createdBy:String? = null @DataMember(Order=3) open var modifiedDate:Date? = null @DataMember(Order=4) @Required() open var modifiedBy:String? = null @DataMember(Order=5) open var deletedDate:Date? = null @DataMember(Order=6) open var deletedBy:String? = null }