package com.test.test.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.test.common.annotation.Excel;
import com.test.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 自动化测试任务日志对象 test_task_log
 *
 * @author test
 * @date 2025-02-25
 */
@Setter
@Getter
@ToString
public class TestTaskLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志id */
    private Long id;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 操作类别 */
    @Excel(name = "操作类别")
    private String operType;

    /** 操作详情 */
    @Excel(name = "操作详情")
    private String operDetail;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private String operUser;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operTime;
}
