package cn.estsh.i3plus.pojo.ptl.bean;


import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Wynne.Lu
 * @date 2020/2/12 17:41
 * @desc
 */

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "PTL_IF")
@EqualsAndHashCode(callSuper = true)
@Api("PTL_接口清单")
public class PtlIf extends BaseBean implements Serializable {

    private static final long serialVersionUID = 8056691337038646866L;

    @Column(name = "IF_CODE")
    @ApiParam("接口代码")
    private String ifCode;

    @Column(name = "IF_NAME")
    @ApiParam("接口名称")
    private String ifName;

    @Column(name = "IF_CONNECT_TYPE")
    @ApiParam("交互方式")
    private String ifConnectType;

    @Column(name = "IF_CLASS")
    @ApiParam("接口实现类")
    private String ifClass;

    @Column(name = "IF_CALL_TYPE")
    @ApiParam("接口调用方向")
    private String ifCallType;
}
