feat: barcode templates
This commit is contained in:
13
barcodes/generator/base.py
Normal file
13
barcodes/generator/base.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from abc import abstractmethod
|
||||
|
||||
from models import ProductBarcode, Product, BarcodeTemplate
|
||||
|
||||
|
||||
class BaseBarcodeGenerator:
|
||||
|
||||
@abstractmethod
|
||||
def generate(self,
|
||||
barcode: ProductBarcode,
|
||||
product: Product,
|
||||
template: BarcodeTemplate):
|
||||
pass
|
||||
Reference in New Issue
Block a user