from django import forms

from backend.models import Product


class ProductForm(forms.ModelForm):


    class Meta:
        model = Product
        fields = ['category_id', 'brand_id', 'supplier_id', 'name', 'intro', 'price', 'product_area', 'is_safe',
                  'safe_time', 'is_package', 'package_intro', 'qualifications','status','attrs']
