<gh_stars>0
from rest_framework import serializers
from flow_apps.leave_of_absence_request import models
from flow_apps.base_serializers import StateDto

class LeaveOfAbsenceRequestSerializer(serializers.ModelSerializer):
    status = StateDto()
    class Meta:
        model = models.LeaveOfAbsenceRequest
        fields = "__all__"

from rest_framework import serializers
from flow_apps.leave_of_absence_request import models
from flow_apps.base_serializers import StateDto

class LeaveOfAbsenceRequestSerializer(serializers.ModelSerializer):
    status = StateDto()
    class Meta:
        model = models.LeaveOfAbsenceRequest
        fields = "__all__"