from django import forms

from backend.models import Admin, ProductCategory


class ProductCategoryForm(forms.ModelForm):
    class Meta:
        model = ProductCategory
        fields = ['name', 'parent_id', 'attrs', 'status']
