/* Options: Date: 2025-01-08 03:13:10 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: CreateArtist.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @ValidateRequest(Validator="HasRole(`Moderator`)") open class CreateArtist : IReturn, ICreateDb { open var firstName:String? = null @Validate(Validator="NotEmpty") @Required() open var lastName:String? = null open var yearDied:Int? = null @SerializedName("type") open var Type:ArrayList? = null companion object { private val responseType = Artist::class.java } override fun getResponseType(): Any? = CreateArtist.responseType } open class Artist : AuditBase() { open var id:Int? = null open var firstName:String? = null open var lastName:String? = null open var yearDied:Int? = null @SerializedName("type") open var Type:ArrayList? = null open var score:Int? = null open var rank:Int? = null } @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 }