Skip to content

Commit

Permalink
Refactor: Add request body for create, and changed migrate elem body.
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW committed Feb 10, 2024
1 parent dfe4654 commit 0e5cd6e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.wafflestudio.csereal.core.admissions.api.req

import org.jetbrains.annotations.NotNull

data class AdmissionMigrateElem(
@field:NotNull val name: String?,
val mainType: String,
val postType: String,
val language: String,
@field:NotNull val description: String?
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.wafflestudio.csereal.core.admissions.api.req

import org.jetbrains.annotations.NotNull

data class AdmissionReqBody(
@field:NotNull val name: String?,
val language: String = "ko",
@field:NotNull val description: String?
)

0 comments on commit 0e5cd6e

Please sign in to comment.