001package io.ebean.annotation; 002 003import java.lang.annotation.ElementType; 004import java.lang.annotation.Retention; 005import java.lang.annotation.RetentionPolicy; 006import java.lang.annotation.Target; 007 008/** 009 * Annotation to specify a default value for DDL-generation & Migration. 010 * This annotation is <b>EXPERMIENTAL</b> and may change. 011 * 012 * @author Roland Praml, FOCONIS AG 013 */ 014@Retention(RetentionPolicy.RUNTIME) 015@Target(ElementType.FIELD) 016public @interface DbDefault { 017 /** 018 * The defaultValue for the column. 019 */ 020 String value(); 021}