blob: 8e5a940262f32d46beaaf6afa0c554ee6ca1c263 [file] [log] [blame]
/**
* A minimal example for the Lunifera Entity DSL:
*
* The package is the topmost element that contains the other elements such as entities,
* beans and enums. Inside a package, import statements an datatype declarations can be placed.
*
* Here, the datatype String is declared since it is needed for the UUID property of entity Foo
* (Entities are supposed to have an ID property; the preferable implementation is UUID).
*/
package org.eclipse.osbp.entitydsl.samples.sample01.dtos {
/* Imports the required artifacts */
import org.eclipse.osbp.entitydsl.samples.sample01.*;
import org.eclipse.osbp.entitydsl.samples.sample01.dtos.*;
import org.eclipse.osbp.entitydsl.samples.sample01.dtos.mapper.*;
autoDto FooDto wraps Foo {
inherit var id;
}
autoDto BarDto wraps Bar {
}
enum MyEnum {
FOO, BAR
}
}