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_case_log
 *
 * @author liangdl
 * @date 2025-02-18
 */
@Setter
@Getter
@ToString
public class TestCaseLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 用例id */
    @Excel(name = "用例id")
    private Long caseId;

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

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

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

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

    /** 用例会话id */
    @Excel(name = "用例sid")
    private String caseSid;
}
