2
0
Fork 0

forgot the magic

This commit is contained in:
Willem Cazander 2014-08-25 22:28:36 +02:00
parent e643a69308
commit b961970fc3
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,5 @@
package net.forwardfire.vasc.demo.tech.domain.petstore.model;
public final class AbstractPetStoreDBCatalog {
public static final String SCHEMA = "petstore";
}

View file

@ -0,0 +1,11 @@
package net.forwardfire.vasc.demo.tech.domain.petstore.model;
public final class AbstractPetStoreDBColumn {
public static final String ID = "id";
public static final String SIGNUP_IP = "signup_ip";
public static final String SIGNUP_AGENT = "signup_agent";
public static final String LOCALE = "locale";
public static final String USER_ACCOUNT_ID = "user_account_id";
public static final String USER_CATEGORY_ID = "user_category_id";
// etc
}

View file

@ -0,0 +1,15 @@
package net.forwardfire.vasc.demo.tech.domain.petstore.model;
public final class AbstractPetStoreDBTable {
public static final String CATEGORY = "category";
public static final String CATEGORY_PRODUCT = "category_product";
public static final String ITEM = "item";
public static final String ITEM_INVENTORY = "item_inventory";
public static final String ITEM_SUPPLIER = "item_supplier";
public static final String ORDER = "order";
public static final String ORDER_LINE = "order_line";
public static final String ORDER_STATUS = "order_status";
public static final String USER_ACCOUNT = "user_account";
public static final String USER_CREDENTIAL = "user_credential";
public static final String USER_PROFILE = "user_profile";
}

View file

@ -0,0 +1,17 @@
package net.forwardfire.vasc.demo.tech.domain.petstore.model;
import net.forwardfire.vasc.backend.VascBackend;
public final class AbstractPetStoreVascBackend {
public interface CategoryBackend extends VascBackend<Category> {}
public interface CategoryProductBackend extends VascBackend<CategoryProduct> {}
public interface ItemBackend extends VascBackend<Item> {}
public interface ItemInventoryBackend extends VascBackend<ItemInventory> {}
public interface ItemSupplierBackend extends VascBackend<ItemSupplier> {}
public interface OrderBackend extends VascBackend<Order> {}
public interface OrderLineBackend extends VascBackend<OrderLine> {}
public interface OrderStatusBackend extends VascBackend<OrderStatus> {}
public interface UserAccountBackend extends VascBackend<UserAccount> {}
public interface UserCredentialBackend extends VascBackend<UserCredential> {}
public interface UserProfileBackend extends VascBackend<UserProfile> {}
}