use 'value' for class value in Clazz annotation instead of 'clazz'
This commit is contained in:
@@ -3,15 +3,10 @@ package jef.model;
|
||||
import jef.DbSet;
|
||||
import jef.model.annotations.Clazz;
|
||||
import jef.model.annotations.Id;
|
||||
import jef.model.annotations.Index;
|
||||
import jef.model.annotations.Key;
|
||||
import jef.model.annotations.Unique;
|
||||
import jef.serializable.SerializableObject;
|
||||
import lombok.Getter;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
@@ -26,7 +21,7 @@ class ModelBuilderSimpleTest {
|
||||
}
|
||||
|
||||
public static class Ctx extends DbContext {
|
||||
@Clazz(clazz = TestClass.class)
|
||||
@Clazz(TestClass.class)
|
||||
private DbSet<TestClass> objects1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user