from rest_framework import serializers


from employee.models import Employee


class EmployeeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Employee
        fields = ('id', 'email', 'firstname', 'lastname', 'password', 'address', 'dob',
                  'company', 'mobile', 'city')
