-- sql queries For Group Permissions 
-- 1 -- app_label : Clinic Groups
--إدارة المستخدمين 

INSERT INTO django_content_type (id, app_label, model,entity_type)VALUES (2001 ,"Management","مجموعات العيادة","GC");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"view_group","عرض المجموعات ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"add_users_to_group","  تعديل مستخدمين المجموعة  ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"change_permissions","  تعديل الصلاحيات   ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"add_group","إضافة المجموعات ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"change_group","تعديل المجموعات ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2001,"delete_group","حذف المجموعات ");

-- البيانات الرئيسية 
-- 2 -- app_label : Management
INSERT INTO django_content_type (id, app_label, model,entity_type)VALUES (2002,"Management","المرضي","GC");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"view_patients","عرض بيانات المرضي ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"add_patient","إضافة مريض جديد ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"change_patient","تعديل بيانات مريض ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"delete_patient","حذف مريض ");

INSERT INTO django_content_type (id, app_label, model,entity_type)VALUES (2003,"Management","الفروع","GC");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"view_branches","عرض الفروع ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2002,"change_fixedworktimes_branches"," تعديل توقيتات الفروع الثابتة");

-- المعاملات المالية
INSERT INTO django_content_type (id, app_label, model,entity_type)VALUES (2004 ,"Management"," الخدمات العلاجية ","GC");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2004,"view_medicalservice","عرض بيانات الخدمات العلاجية ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2004,"add_medicalservice","إضافة خدمة علاجية جديدة ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2004,"change_medicalservice","تعديل بيانات خدمة علاجية ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2004,"delete_medicalservice","حذف خدمة علاجية ");

INSERT INTO django_content_type (id, app_label, model,entity_type)VALUES (2005 ,"Management"," بنود المصروفات","GC");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2005,"view_expenseitem","عرض  ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2005,"add_expenseitem","إضافة  ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2005,"change_expenseitem","تعديل  ");
INSERT INTO auth_permission (content_type_id, codename, name) VALUES (2005,"delete_expenseitem","حذف  ");
