package com.yuchen.saas.park.service.listener.inspect;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zhouhanwei
 * @create 2024/4/10 9:16
 */
@Data
public class FireInspectLogEvent {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    private Long projectId;
    /**
     * 任务id
     */
    @ApiModelProperty(name = "planTaskId", value = "任务id")
    private Long planTaskId;
    /**
     * 巡检点id
     */
    @ApiModelProperty(name = "taskConfigId", value = "巡检点id")
    private Long taskConfigId;
    /**
     * 巡检结果
     */
    @ApiModelProperty(name = "inspectResult", value = "巡检结果")
    private String inspectResult;
    /**
     * 巡检人
     */
    @ApiModelProperty(name = "inspectUser", value = "巡检人")
    private Long inspectUser;
    /**
     * 巡检时间
     */
    @ApiModelProperty(name = "inspectDate", value = "巡检时间")
    private Date inspectDate;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;


    public FireInspectLogEvent(Long customerId, Long projectId, Long planTaskId, Long taskConfigId, String inspectResult,
                                      Long inspectUser, Date inspectDate, String remark) {
        this.customerId = customerId;
        this.projectId = projectId;
        this.planTaskId = planTaskId;
        this.taskConfigId = taskConfigId;
        this.inspectResult = inspectResult;
        this.inspectUser = inspectUser;
        this.inspectDate = inspectDate;
        this.remark = remark;
    }
}
