24 lines
517 B
Java
24 lines
517 B
Java
package org.warp.jcwdb.utils;
|
|
|
|
import org.warp.jcwdb.database.Database;
|
|
import org.warp.jcwdb.EnhancedObject;
|
|
import org.warp.jcwdb.annotations.DBPrimitiveField;
|
|
import org.warp.jcwdb.annotations.DBPrimitiveType;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class NSimplestClass extends EnhancedObject {
|
|
|
|
@DBPrimitiveField(id = 0, type = DBPrimitiveType.BOOLEAN)
|
|
public boolean field1;
|
|
|
|
public NSimplestClass() {
|
|
|
|
}
|
|
|
|
public NSimplestClass(Database database) throws IOException {
|
|
super(database);
|
|
field1 = true;
|
|
}
|
|
}
|