package cn.estsh.i3plus.pojo.lac.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;

/**
 * @Description :
 * <per>
 * <br/>    create table LacSuitCase(
 * <br/>        sutiCaseId           bigint                         null,
 * <br/>        sutiCaseNameRdd      varchar(50)                    null,
 * <br/>        suitCaseCode         varchar(50)                    null,
 * <br/>        sutiType             int                            null,
 * <br/>        hardwareType         int                            null,
 * <br/>        returnMethod         int                            null,
 * <br/>        timeout              int                            null,
 * <br/>        retryNum             int                            null,
 * <br/>        successNum           int                            null,
 * <br/>        failNum              int                            null,
 * <br/>        countNum             int                            null,
 * <br/>        sutiCaseStatus       int                            null
 * <br/>    );
 * <br/>
 * <br/>    comment on table LacSuitCase is'适配器';
 * <br/>    comment on column LacSuitCase.sutiCaseId is'适配器id';                 不推荐使用ID绑定，数据库调整会有变动，推荐使用Code 绑定
 * <br/>    comment on column LacSuitCase.sutiCaseNameRdd is'适配器名称';
 * <br/>    comment on column LacSuitCase.suitCaseCode is'适配器代码';
 * <br/>    comment on column LacSuitCase.sutiType is'适配器类型（枚举）';
 * <br/>    comment on column LacSuitCase.hardwareType is'硬件类型（枚举）';
 * <br/>    comment on column LacSuitCase.returnMethod is'返回方式（枚举）';
 * <br/>    comment on column LacSuitCase.timeout is'超时时间';     -> 移至 任务当中
 * <br/>    comment on column LacSuitCase.retryNum is'重试次数';    -> 移至 任务当中
 * <br/>    comment on column LacSuitCase.successNum is'成功次数';    -> 移至 任务当中
 * <br/>    comment on column LacSuitCase.failNum is'失败次数';    -> 移至 任务当中
 * <br/>    comment on column LacSuitCase.countNum is'总次数';    -> 移至 任务当中
 * <br/>    comment on column LacSuitCase.sutiCaseStatus is'适配器状态';
 * </per>
 * @Reference :
 * @Author : wei.peng
 * @CreateDate : 19-10-25 下午6:08
 * @Modify:
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="LAC_SUIT_CASE")
@Api(value="适配器",description = "适配器信息")
public class LacSuitCase extends BaseBean {

    private static final long serialVersionUID = 6325924633917664579L;
    @Column(name="SUIT_CASE_NAME_RDD")
    @ApiParam(value ="适配器名称")
    private String suitCaseNameRdd;

    @Column(name="SUIT_CASE_CODE_RDD")
    @ApiParam(value ="适配器代码")
    private String suitCaseCodeRdd;

    @Column(name="SUIT_TYPE")
    @ApiParam(value ="适配器类型")
    private Integer suitType;

    @Column(name="HARDWARE_TYPE")
    @ApiParam(value ="硬件类型")
    private Integer hardwareType;

    @Column(name="SOFTWARE_SUIT_CODE")
    @ApiParam(value ="软适配代码")
    private String softwareSuitCode;

    @Column(name="RETURN_METHOD")
    @ApiParam(value ="返回类型")
    private Integer returnMethod;

    @Column(name="SUIT_CASE_DESCRIPTION")
    @ApiParam(value ="适配器描述")
    private String suitCaseDescription;

}
