from rest_framework import serializers
from .models import Resume


class ResumeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Resume
        fields = ['id', 'name', 'gender', 'birthday', 'education',
                  'experience', 'attachment', 'updated_at']
        read_only_fields = ['updated_at']
