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:
Trey t
2025-11-14 10:31:04 -06:00
parent e87c406695
commit c189971906

View File

@@ -43,6 +43,7 @@ data class TaskPriority(
val id: Int,
val name: String,
@SerialName("display_name") val displayName: String,
@SerialName("order_id") val orderId: Int = 0,
val description: String? = null
)
@@ -57,6 +58,7 @@ data class TaskStatus(
val id: Int,
val name: String,
@SerialName("display_name") val displayName: String,
@SerialName("order_id") val orderId: Int = 0,
val description: String? = null
)
@@ -70,6 +72,7 @@ data class TaskCategoryResponse(
data class TaskCategory(
val id: Int,
val name: String,
@SerialName("order_id") val orderId: Int = 0,
val description: String? = null
)