Classification filament plugin ??!!
Hi, I would need your opinion on a plugin that I would like to create for filament.
I wanted to organize the classification of the contacts model . I wanted to create a classification_types table with the following fields:
id
name
label
is_single
color
icon
In this table, I would include, for example, client, supplier, lead, reliable, unreliable, expensive, producer, importer...
In a second table, classification_relationships, I would define the various relationships that can exist between the classification_types. It could have the following fields:
id
classification_id_a
classification_id_b
sort
To assign the various classifications that the contacts can have, I would create a third table contact_classification with:
contact_id
classification_relationship_id
default
sort
What do you think about it? Should I consider anything else, perhaps also thinking of using existing plugins like Select Tree?
Thanks
0 Replies