from django import forms

from backend.models import Admin


class UserForm(forms.ModelForm):
    class Meta:
        model = Admin
        fields = ['username', 'password', 'mobile', 'email','real_name','code','job','contact', 'role_id', 'status']
