Barcode model class