from rest_framework import serializers
from .models import DataAccess

class DataAccessSerializer(serializers.ModelSerializer):
    class Meta:
        model = DataAccess
        fields = '__all__'
        read_only_fields = ['user']
