package org.apache.cayenne.testdo.inheritance_flat.auto;
import org.apache.cayenne.exp.Property;
import org.apache.cayenne.testdo.inheritance_flat.Role;
import org.apache.cayenne.testdo.inheritance_flat.UserProperties;
/**
* Class _User was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* since it may be overwritten next time code is regenerated.
* If you need to make any customizations, please use subclass.
*/
public abstract class _User extends Role {
private static final long serialVersionUID = 1L;
public static final String ID_PK_COLUMN = "id";
public static final Property<UserProperties> USER_PROPERTIES = Property.create("userProperties", UserProperties.class);
public void setUserProperties(UserProperties userProperties) {
setToOneTarget("userProperties", userProperties, true);
}
public UserProperties getUserProperties() {
return (UserProperties)readProperty("userProperties");
}
}