58 lines
895 B
Python
58 lines
895 B
Python
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
|
||
|
|
EMP_TABLE_CANONICAL: str = "tMerakomisEmp"
|
||
|
|
|
||
|
|
|
||
|
|
EMP_EXCLUDE_SUFFIXES: frozenset[str] = frozenset({"pass"})
|
||
|
|
|
||
|
|
|
||
|
|
EMP_FIELD_SUFFIXES: tuple[str, ...] = (
|
||
|
|
"id",
|
||
|
|
"name",
|
||
|
|
"login",
|
||
|
|
"email",
|
||
|
|
"type",
|
||
|
|
"archive",
|
||
|
|
"active",
|
||
|
|
"accept",
|
||
|
|
"portal",
|
||
|
|
"account",
|
||
|
|
"created",
|
||
|
|
"updated",
|
||
|
|
"image",
|
||
|
|
"date_hire",
|
||
|
|
"birthdate",
|
||
|
|
"city",
|
||
|
|
"phone",
|
||
|
|
"skype",
|
||
|
|
"is_freelancer",
|
||
|
|
"staffing",
|
||
|
|
"description",
|
||
|
|
"org",
|
||
|
|
"org_type",
|
||
|
|
"education",
|
||
|
|
"diploma",
|
||
|
|
"diploma_date",
|
||
|
|
"diploma_post",
|
||
|
|
"nopriz_text",
|
||
|
|
"nostroi_text",
|
||
|
|
"technadzor_text",
|
||
|
|
"status",
|
||
|
|
"comment",
|
||
|
|
"removed",
|
||
|
|
"archive_date",
|
||
|
|
"discrod",
|
||
|
|
"sex",
|
||
|
|
"salary",
|
||
|
|
"has_children",
|
||
|
|
"tg_acc",
|
||
|
|
"roles",
|
||
|
|
"group",
|
||
|
|
"fot",
|
||
|
|
"absence",
|
||
|
|
)
|
||
|
|
|
||
|
|
PHP_REFERENCE: str = "themes/merakomis/emp/model.php"
|