package com.ytpm.middle.view;

import com.ytpm.general.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author Marx
 * @date 2025/8/1 9:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("工单信息")
public class WorkorderVO extends BaseParam {
    @ApiModelProperty("工单ID")
    private String workorderId;
    @ApiModelProperty("工单标题")
    private String title;
    @ApiModelProperty("工单内容")
    private String content;
    @ApiModelProperty("工单状态")
    private int workorderStatus;
    @ApiModelProperty("处理人")
    private String processor;
    @ApiModelProperty("处理人名称")
    private String processorName;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("完成时间")
    private Date finishTime;
    @ApiModelProperty("创建人昵称")
    private String creatorName;
    @ApiModelProperty("附件列表")
    private List<AttachVO> attachList;
}
