package com.gennitor.system.client.annotation.purpose;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Christos Tsakostas - c.tsakostas@gmail.com
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface CollectionRecord {

    /**
     * The name of the collection record. ATTENTION: It must be in lowerCamelCase format!
     *
     * @return name
     */
    String name();

    /**
     * The related purpose name.
     *
     * @return related final cause name
     */
    String relatedPurposeName();

}
