content: package io.github.akueisara.inventoryapp.data;
  
  import android.content.ContentResolver;
  import android.net.Uri;
  import android.provider.BaseColumns;
  
  public class ProductContract {
      public static final String CONTENT_AUTHORITY = "io.github.akueisara.inventoryapp";
      public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
      public static final String PATH_PRODUCTS = "products";
  
      private ProductContract() {
  
      }
  
      public static final class ProductEntry implements BaseColumns {
  
          public static final String CONTENT_LIST_TYPE =
                  ContentResolver.CURSOR_DIR_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_PRODUCTS;
  
          public static final String CONTENT_ITEM_TYPE =
                  ContentResolver.CURSOR_ITEM_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_PRODUCTS;
  
          public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, PATH_PRODUCTS);
  
          public final static String TABLE_NAME = "products";
          public final static String _ID = BaseColumns._ID;
          public final static String COLUMN_PRODUCT_NAME ="name";
          public final static String COLUMN_PRODUCT_QUANTITY = "quantity";
          public final static String COLUMN_PRODUCT_PRICE = "price";
          public final static String COLUMN_PRODUCT_IMAGE = "image";
      }
  
  }
  