package com.uas.platform.b2b.erp.model;


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

/**
 * 关键词别名
 *
 * Created by hejq on 2018-05-02.
 */
@Table(name = "keyword$alias")
@Entity
public class KeywordAlias implements Serializable {

    /**
     * default serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @Column(name = "ka_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 类型，币别、企业等
     */
    @Column(name = "ka_type")
    private String type;

    /**
     * 来源
     */
    @Column(name = "ka_source")
    private String source;

    /**
     * 标准名称，对应平台需要的数据
     */
    @Column(name = "ka_name")
    private String name;

    /**
     * 对应的平台的标准的value值，如企业UU号等
     */
    @Column(name = "ka_value")
    private String value;

    /**
     * 别名，传入的数据
     */
    @Column(name = "ka_alias")
    private String alias;

    public Long getId() {
        return id;
    }

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

    public String getType() {
        return type;
    }

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

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getName() {
        return name;
    }

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

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }
}
