Add order_id field to lookup models
Added order_id field to TaskCategory, TaskPriority, and TaskStatus models to support custom ordering of lookup values from the API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,7 @@ data class TaskPriority(
|
|||||||
val id: Int,
|
val id: Int,
|
||||||
val name: String,
|
val name: String,
|
||||||
@SerialName("display_name") val displayName: String,
|
@SerialName("display_name") val displayName: String,
|
||||||
|
@SerialName("order_id") val orderId: Int = 0,
|
||||||
val description: String? = null
|
val description: String? = null
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -57,6 +58,7 @@ data class TaskStatus(
|
|||||||
val id: Int,
|
val id: Int,
|
||||||
val name: String,
|
val name: String,
|
||||||
@SerialName("display_name") val displayName: String,
|
@SerialName("display_name") val displayName: String,
|
||||||
|
@SerialName("order_id") val orderId: Int = 0,
|
||||||
val description: String? = null
|
val description: String? = null
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -70,6 +72,7 @@ data class TaskCategoryResponse(
|
|||||||
data class TaskCategory(
|
data class TaskCategory(
|
||||||
val id: Int,
|
val id: Int,
|
||||||
val name: String,
|
val name: String,
|
||||||
|
@SerialName("order_id") val orderId: Int = 0,
|
||||||
val description: String? = null
|
val description: String? = null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user