package co.uk.rushorm.android.testobjects;

import java.util.Date;
import java.util.List;

import co.uk.rushorm.core.RushObject;
import co.uk.rushorm.core.annotations.RushDisableAutodelete;
import co.uk.rushorm.core.annotations.RushIgnore;
import co.uk.rushorm.core.annotations.RushList;

/**
 * Created by Stuart on 15/12/14.
 */
public class TestObject extends RushObject {

    public String stringField;
    public double doubleField;
    public int intField;
    public long longField;
    public short shortField;
    public MyClass myClass;
    public boolean booleanField;
    public float floatField;
    public Date dateField;
    public TestChildObject childObject;

    @RushDisableAutodelete
    public TestChildObject childObject2;

    @RushIgnore
    public String ignoredField;

    @RushList(classType = TestChildObject.class)
    public List<TestChildObject> children;

}
