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>
 * 用于按周期标识分组展示反馈记录，
 * 包含周期标识、周期起止时间、反馈次数、反馈人姓名等字段。
 */
@Data
public class FeedbackPeriodGroupCO extends ClientObject {
    @ApiModelProperty(value = "下发记录业务ID")
    private String taskExecutionId;
    @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;
    @ApiModelProperty(value = "反馈次数")
    private Integer feedbackCount;
    @ApiModelProperty(value = "反馈人姓名")
    private String feedbackUserName;
    @ApiModelProperty(value = "周期标识")
    private String feedbackPeriodFlag;
}
