package com.zcloud.safetyDutyList.dto.clientobject.tasklist;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 反馈详情客户端对象
 * <p>
 * 用于根据反馈ID查询详情时返回，包含反馈内容及其关联的任务信息，
 * 如执行内容、反馈周期类型、周期起止时间等。
 */
@Data
public class FeedbackInfoCO extends ClientObject {
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "反馈UUID")
    private String feedbackId;
    @ApiModelProperty(value = "任务详情ID")
    private String taskDetailId;
    @ApiModelProperty(value = "执行内容")
    private String executeContent;
    @ApiModelProperty(value = "反馈周期类型")
    private Integer feedbackCycleType;
    @ApiModelProperty(value = "反馈内容")
    private String feedbackContent;
    @ApiModelProperty(value = "反馈时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feedbackTime;
    @ApiModelProperty(value = "反馈周期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feedbackPeriodStartTime;
    @ApiModelProperty(value = "反馈周期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feedbackPeriodEndTime;
}
