farmaseftika model va api qoshildi

This commit is contained in:
behruz-dev
2025-11-27 15:23:05 +05:00
parent 708f4032ca
commit e8fb4c1e5b
8 changed files with 155 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
from rest_framework import serializers
# shared
from core.apps.shared.models import Factory
class FactorySerializer(serializers.ModelSerializer):
class Meta:
model = Factory
fields = [
'id', 'name', 'created_at'
]