package org.xyzh.api.workcase.dto;

import java.util.List;

import org.xyzh.common.dto.BaseDTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description    工单表数据对象DTO
 * @filename    TbWorkcaseDTO.java
 * @author    yslg
 * @copyright xyzh
 * @since 2025-12-18
 */
@Data
@Schema(description = "工单表对象")
public class TbWorkcaseDTO extends BaseDTO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "工单ID")
    private String workcaseId;

    @Schema(description = "聊天室ID")
    private String roomId;

    @Schema(description = "来客ID")
    private String userId;

    @Schema(description = "来客姓名")
    private String username;

    @Schema(description = "来客电话")
    private String phone;

    @Schema(description = "故障类型")
    private String type;

    @Schema(description = "设备名称")
    private String device;

    @Schema(description = "设备名称牌")
    private String deviceNamePlate;

    @Schema(description = "设备名称牌图片")
    private String deviceNamePlateImg;

    @Schema(description = "设备代码")
    private String deviceCode;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "故障描述")
    private String description;

    @Schema(description = "工单图片列表")
    private List<String> imgs;

    @Schema(description = "紧急程度 normal-普通 emergency-紧急")
    private String emergency;

    @Schema(description = "状态 pending-待处理 processing-处理中 done-已完成")
    private String status;

    @Schema(description = "处理人ID")
    private String processor;

    @Schema(description = "处理人姓名")
    private String processorName;
}
