ArticleRequest
data class ArticleRequest( val id: Int? = null, val title: String? = null, val description: String? = null, val content: String? = null, val titleRu: String? = null, val descriptionRu: String? = null, val contentRu: String? = null, val category: ArticleCategory? = null, val type: ArticleType? = null, val url: String? = null, val listImage: String? = null, val viewImage: String? = null, val isPublished: Boolean? = null, val uploads: List<Int> = listOf())
Content copied to clipboard
Route request article
Constructors
Link copied to clipboard
fun ArticleRequest( id: Int? = null, title: String? = null, description: String? = null, content: String? = null, titleRu: String? = null, descriptionRu: String? = null, contentRu: String? = null, category: ArticleCategory? = null, type: ArticleType? = null, url: String? = null, listImage: String? = null, viewImage: String? = null, isPublished: Boolean? = null, uploads: List<Int> = listOf())
Content copied to clipboard
Properties
Link copied to clipboard
@NotNull(message = "Select category required")
Content copied to clipboard
Link copied to clipboard
@Size(min = 3, max = 500, message = "Size must be between 3 and 500")
Content copied to clipboard
Link copied to clipboard
@Size(max = 500, message = "Size must be between 3 and 500")
Content copied to clipboard