package com.grkj.iscs_mc.model.vo.ticket

data class TicketEquipDetailRespVO(
    val ticketId: Long?,
    val ticketCode: String?,
    val ticketName: String?,
    val workshopId: Long?,
    val workareaId: Long?,
    val sopId: Long?,
    val ticketType: String?,
    val ticketContent: String?,
    val ticketStatus: String?,
    val ticketStartTime: String?,
    val ticketEndTime: String?,
    val delFlag: String?,
    val ticketKeyVOList: List<JobTicketKeyVO>?,
    val ticketLockVOList: List<JobTicketLockVO>?,
    val ticketLocksetVOList: List<JobTicketLocksetVO>?
) {
    data class JobTicketKeyVO(
        val recordId: Long?,
        val ticketId: Long?,
        val keyId: Long?,
        val fromHardwareId: Long?,
        val toHardwareId: Long?,
        val collectTime: String?,
        val giveBackTime: String?,
        val keyStatus: String?,
        val delFlag: String?,
        val ticketType: Int?
    )

    data class JobTicketLockVO(
        val recordId: Long?,
        val ticketId: Long?,
        val lockId: Long?,
        val lockNfc: String?,
        val fromHardwareId: Long?,
        val toHardwareId: Long?,
        val isolationPointId: Long?,
        val lockStatus: String?,
        val delFlag: String?
    )

    data class JobTicketLocksetVO(
        val recordId: Long?,
        val jobTicketId: Long?,
        val pointId: Long?,
        val locksetId: Long?,
        val fromHardwareId: Long?,
        val toHardwareId: Long?,
        val locksetTypeId: Long?,
        val locksetStatus: String?,
        val collectTime: String?,
        val giveBackTime: String?,
        val delFlag: String?
    )
}