Commit 5897d482 authored by Trio Saputra's avatar Trio Saputra Committed by Wahyu Wibowo

entities

parent 7f659722
......@@ -3,8 +3,10 @@ package com.example.yourcashiertest.entities;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "products")
public class Product implements Parcelable {
@PrimaryKey(autoGenerate = true)
private long id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment