package com.xinelu.manage.domain.scriptinfotaskinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 百度外呼话术任务临时表
 * @author: haown
 * @create: 2024-08-30 14:29
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "百度外呼话术任务临时表", description = "script_info_task_info")
public class ScriptInfoTaskInfo {

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 话术表主键
	 */
	private Long scriptInfoId;

	/**
	 * 机器人ID
	 */
	private String robotId;

	/**
	 * 任务标识
	 */
	private String taskId;

	/**
	 * 管理路径Id
	 */
	private Long signPatientManageRouteId;

	/**
	 * 任务Id
	 */
	private Long signPatientManageRouteNodeId;

	/**
	 * 执行时间
	 */
	private LocalDateTime executeTime;

	/**
	 * 百度外呼任务类型，BATCH_TASK：批量任务，ACTUAL_TIME_TASK：实时任务
	 */
	private String aiobTaskType;

	/** 任务执行状态，已执行：EXECUTED，未执行：UNEXECUTED */
	@ApiModelProperty(value = "任务执行状态，已执行：EXECUTED，未执行：UNEXECUTED")
	private String executeStatus;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	/**
	 * 导入流水号
	 */
	@ApiModelProperty(value = "导入流水号")
	private String sn;
}
