add: add type income crud and model

This commit is contained in:
behruz-dev
2025-09-08 16:15:20 +05:00
parent d60916685f
commit d84612af13
10 changed files with 213 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
from rest_framework import serializers
from core.apps.finance.models import TypeIncome
class TypeIncomeSerializer(serializers.ModelSerializer):
class Meta:
model = TypeIncome
fields = [
'id', 'name', 'category', 'activity', 'comment', 'status'
]