from rest_framework import serializers
from app.entities import models
from app.applicationlayer.utils import model_to_dict


class ChangeRequestTemplateDetailsSerializer(
    serializers.ModelSerializer
):
    class Meta:
        model = models.ChangeRequestTemplateDetails
        fields = '__all__'
        read_only_fields = ['created', 'code']