/*
 * *************************************************
 * Copyright (c) 2019 QMTH. All Rights Reserved.
 * Created by Deason on 2019-05-05 14:12:35.
 * *************************************************
 */

package cn.com.qmth.examcloud.core.questions.dao.entity.base;

import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * Mongo Object ID
 *
 * @author: QMTH
 * @since: 2019/5/5
 */
public abstract class IdBase implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    protected String id;

    public String getId() {
        return id;
    }

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

}