from django import forms

from backend.models import AuthMenu


class AuthMenuForm(forms.ModelForm):
    class Meta:
        model = AuthMenu
        fields = ['code',  'name', 'parent_id', 'sort', 'status', 'path', 'type', "create_time"]
