/* Options: Date: 2024-12-22 21:19:20 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateGameItem.* //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.* open class CreateGameItem : IReturn, ICreateDb { @Validate(Validator="NotEmpty") open var name:String? = null @Validate(Validator="NotEmpty") open var description:String? = null @Validate(Validator="NotEmpty") open var imageUrl:String? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = CreateGameItem.responseType } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class GameItem : AuditBase() { @StringLength(MaximumLength=50) open var name:String? = null open var imageUrl:String? = null @StringLength(MaximumLength=2147483647) open var description:String? = null open var dateAdded:Date? = null }