package com.mmnaseri.utils.spring.data.sample.models;

import org.springframework.data.annotation.Id;

/**
 * @author Milad Naseri (m.m.naseri@gmail.com)
 * @since 1.0 (4/12/16, 6:53 PM)
 */
@SuppressWarnings("unused")
public class EntityWithAnnotationOnIdFieldAndGetterAndAnIdField {

    private String id;
    @Id
    private String annotatedId;
    private String unannotatedId;

    public String getId() {
        return id;
    }

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

    public String getAnnotatedId() {
        return annotatedId;
    }

    public void setAnnotatedId(String annotatedId) {
        this.annotatedId = annotatedId;
    }

    @Id
    public String getUnannotatedId() {
        return unannotatedId;
    }

    public void setUnannotatedId(String unannotatedId) {
        this.unannotatedId = unannotatedId;
    }

}
