package com.grkj.iscs.model.vo.ticket

data class TicketDetailRespVO(
    val ticketId: Long?,
    val ticketCode: String?,
    val ticketName: String?,
    val workshopId: Long?,
    val workshopName: String?,
    val workareaId: Long?,
    val workareaName: String?,
    val sopId: Long?,
    val sopName: String?,
    val ticketType: String?,
    val ticketContent: String?,
    val ticketStatus: String?,
    val ticketStartTime: String?,
    val ticketEndTime: String?,
    val delFlag: String?,
    val lockId: Long?,
    val lockedByKeyId: Long?,
    val unlockedByKeyId: Long?,
    val lockTime: String?,
    val unlockTime: String?,
    val pointDetailVOList: List<PointDetailVO>?,
    val jobTicketUserList: List<UserVO>?
) {
    data class PointDetailVO(
        val pointId: Long?,
        val pointCode: String?,
        val pointName: String?,
        val pointType: String?,
        val pointTypeName: String?,
        val pointNfc: String?,
        val workshopId: Long?,
        val workshopName: String?,
        val workareaId: Long?,
        val workareaName: String?,
        val powerType: String?,
        val powerTypeName: String?,
        val isolationMethod: String?,
        val pointIcon: String?,
        val pointPicture: String?,
        val delFlag: String?,
        val lockTypeId: Long?,
        val lockTypeCode: String?,
        val lockTypeName: String?,
        val lockTypeIcon: String?,
        val lockTypeImg: String?,
        val lockId: Long?,
        val lockNfc: String?,
        val prePointId: Long?)

    data class UserVO(
        val recordId: Long?,
        val ticketId: Long?,
        val userId: Long?,
        val userName: String?,
        val userType: String?,
        val userRole: String?,
        val jobStatus: Int?,
        val delFlag: String?)
}