add suggestions

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-09-24 20:08:52 +02:00
parent 6dc672fcc7
commit f595823fd2

View File

@@ -12,6 +12,7 @@ import (
var ( var (
knownColumnNames = []string{ knownColumnNames = []string{
"date", "date",
"creation_date",
"phone", "phone",
"username", "username",
"iban", "iban",
@@ -35,34 +36,43 @@ var (
} }
suggestions = map[string]string{ suggestions = map[string]string{
"user": "username", "user": "username",
"login": "username", "login": "username",
"sex": "gender", "sex": "gender",
"genre": "gender", "civilite": "gender",
"ipaddress": "ip", "genre": "gender",
"firstname": "first_name", "ipaddress": "ip",
"prenom": "first_name", "firstname": "first_name",
"lastname": "last_name", "prenom": "first_name",
"nom": "last_name", "lastname": "last_name",
"fullname": "full_name", "nom": "last_name",
"nomcomplet": "full_name", "fullname": "full_name",
"adresse": "address", "nomcomplet": "full_name",
"streetaddress": "address", "adresse": "address",
"ville": "city", "streetaddress": "address",
"pays": "country", "ville": "city",
"mail": "email", "pays": "country",
"zip": "postal_code", "mail": "email",
"postalcode": "postal_code", "zip": "postal_code",
"zipcode": "postal_code", "postalcode": "postal_code",
"postal": "postal_code", "zipcode": "postal_code",
"codepostal": "postal_code", "postal": "postal_code",
"hash": "password_hash", "codepostal": "postal_code",
"hashedpassword": "password_hash", "hash": "password_hash",
"hashpassword": "password_hash", "hashedpassword": "password_hash",
"passwordhashed": "password_hash", "hashpassword": "password_hash",
"birthdate": "birth_date", "passwordhashed": "password_hash",
"dob": "birth_date", "birthdate": "birth_date",
"dateofbirth": "birth_date", "dob": "birth_date",
"dateofbirth": "birth_date",
"datenaissance": "birth_date",
"datecreation": "creation_date",
"datedecreation": "creation_date",
"createdat": "creation_date",
"phonenumber": "phone",
"numero": "phone",
"numerotelephone": "phone",
"numeromobile": "phone",
} }
) )