package com.prolog.upcloud.base.wh.operate.model;

import com.prolog.framework.core.annotation.AutoKey;
import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @auther KingYan
 * @create 2022-07-15 10:32:12
 * @describe EIS日志表实体类
 */
@Data
@Table("eis_log")
@ApiModel(value = "EisLog对象", description = "EIS日志表")
public class EisLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @Id
    @AutoKey(type = AutoKey.TYPE_SNOWFLAKE)
    private String id;

    @ApiModelProperty(value = "发起方（WMS;EIS）")
    @Column("initiator")
    private String initiator;

    @ApiModelProperty(value = "状态（0-初始；1-成功；2-失败；）")
    @Column("status")
    private Integer status;

    @ApiModelProperty(value = "接口名称")
    @Column("url")
    private String url;

    @ApiModelProperty(value = "请求参数")
    @Column("request")
    private String request;

    @ApiModelProperty(value = "返回参数")
    @Column("response")
    private String response;

    @ApiModelProperty(value = "创建时间")
    @Column("gmt_create")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @Column("gmt_modified")
    private Date gmtModified;


}