package com.ruoyi.ems.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huashe.common.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 能源对象能力调用日志对象 adm_ems_obj_ability_call_log
 *
 * @author ruoyi
 * @date 2025-02-27
 */
@Data
public class EmsObjAbilityCallLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 对象代码 */
    private String objCode;

    private String objName;

    private String modelCode;

    private String modelName;

    /** 能力键 */
    private String abilityKey;

    private String abilityName;

    /** 调用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date callTime;

    /** 调用参数 */
    private String callPayload;

    /** 调用状态 */
    private Integer callStatus;

    /** 响应时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resTime;

    /** 响应内容 */
    private String resPayload;

    private transient List<String> modelCodes;
}
