feat: barcode templates

This commit is contained in:
2024-05-09 21:30:46 +03:00
parent 87085379ed
commit bde69f9db8
14 changed files with 178 additions and 58 deletions

View 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