feat: temp barcode templates
This commit is contained in:
7
barcodes/attributes/name_attribute_getter.py
Normal file
7
barcodes/attributes/name_attribute_getter.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from barcodes.attributes import BaseAttributeGetter
|
||||
from models import Product
|
||||
|
||||
|
||||
class NameAttributeGetter(BaseAttributeGetter):
|
||||
def get_value(self, product: Product):
|
||||
return product.name
|
||||
Reference in New Issue
Block a user