package com.yihu.hos.standard.model.adapter;

import com.yihu.hos.web.framework.model.Result;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 标准版本模型
 *
 * @Created by lingfeng 2015/12/23.
 */
@Entity
@Table(name = "adapter_scheme")
public class AdapterSchemeModel extends Result implements Serializable {

    @Id
    @GeneratedValue(generator = "generator")
    @GenericGenerator(name = "generator", strategy = "increment")
    private Integer id;

    @Column(name="parent_id")
    private Integer parentId;

    @Column(name="name")
    private String name;

    @Column(name="type")
    private String type;

    @Column(name="description")
    private String description;

    @Column(name="status")
    private Integer status;

    @Column(name="std_id")
    private Integer stdId;

    @Column(name="std_version")
    private String stdVersion;

    @Column(name="std_publisher_org_code")
    private String stdPublisherOrgCode;

    @Column(name="adapter_std_id")
    private Integer adapterStdId;

    @Column(name="adapter_std_version")
    private String adapterStdVersion;

    @Column(name="adapter_publisher_org_code")
    private String adapterPublisherOrgCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStdId() {
        return stdId;
    }

    public void setStdId(Integer stdId) {
        this.stdId = stdId;
    }

    public String getStdVersion() {
        return stdVersion;
    }

    public void setStdVersion(String stdVersion) {
        this.stdVersion = stdVersion;
    }

    public Integer getAdapterStdId() {
        return adapterStdId;
    }

    public void setAdapterStdId(Integer adapterStdId) {
        this.adapterStdId = adapterStdId;
    }

    public String getAdapterStdVersion() {
        return adapterStdVersion;
    }

    public void setAdapterStdVersion(String adapterStdVersion) {
        this.adapterStdVersion = adapterStdVersion;
    }

    public String getAdapterPublisherOrgCode() {
        return adapterPublisherOrgCode;
    }

    public void setAdapterPublisherOrgCode(String adapterPublisherOrgCode) {
        this.adapterPublisherOrgCode = adapterPublisherOrgCode;
    }

    public String getStdPublisherOrgCode() {
        return stdPublisherOrgCode;
    }

    public void setStdPublisherOrgCode(String stdPublisherOrgCode) {
        this.stdPublisherOrgCode = stdPublisherOrgCode;
    }
}
