-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `ticket`
--

-- --------------------------------------------------------

--
-- Table structure for table `add_template`
--

CREATE TABLE `add_template` (
  `id` int(11) NOT NULL,
  `form_name` varchar(255) NOT NULL,
  `input_type` varchar(255) NOT NULL,
  `input_name` varchar(255) NOT NULL,
  `input_value` varchar(255) NOT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `add_template`
--

INSERT INTO `add_template` (`id`, `form_name`, `input_type`, `input_name`, `input_value`, `remark`, `is_active`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(1, 'Test form', 'checkbox', 'edu', '', NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `dynamic_form`
--

CREATE TABLE `dynamic_form` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `data` longtext NOT NULL,
  `is_default` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `dynamic_form`
--

INSERT INTO `dynamic_form` (`id`, `name`, `data`, `is_default`) VALUES
(13, 'ABC', '[{\"inputWidth\":\"col-sm-4\",\"inputType\":\"select\",\"inputName\":\"Dept\",\"inputLabel\":\"Dept\",\"inputDefaultValue\":null,\"inputAddOn\":{\"inputRange\":null,\"inputDataSource\":\"department|id|department\",\"inputDataSourceData\":[{\"value\":22,\"label\":\"Development\"},{\"value\":23,\"label\":\"BAC\"}],\"inputDateRange\":null}},{\"inputWidth\":\"col-sm-2\",\"inputType\":\"text\",\"inputName\":\"Deptt\",\"inputLabel\":\"Deptt\",\"inputDefaultValue\":null,\"inputAddOn\":{\"inputRange\":null,\"inputDataSource\":null,\"inputDataSourceData\":null,\"inputDateRange\":null}}]', 1);

-- --------------------------------------------------------

--
-- Table structure for table `tai_city_master`
--

CREATE TABLE `tai_city_master` (
  `id` int(10) NOT NULL,
  `country_id` int(11) DEFAULT NULL,
  `state_id` int(10) DEFAULT NULL,
  `city` varchar(255) NOT NULL,
  `city_m` varchar(255) DEFAULT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_city_master`
--

INSERT INTO `tai_city_master` (`id`, `country_id`, `state_id`, `city`, `city_m`, `remark`, `is_active`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(7, 12, 9, 'Pune', NULL, NULL, 0, NULL, NULL, NULL, NULL),
(8, 12, 9, 'Nagpur', NULL, NULL, 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_communication_detail`
--

CREATE TABLE `tai_communication_detail` (
  `id` int(11) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `scheduled_dt` varchar(255) DEFAULT NULL,
  `sender` varchar(255) DEFAULT NULL,
  `receiver` varchar(255) DEFAULT NULL,
  `communication_type` char(255) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `body` varchar(255) DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `delivery_status` char(255) DEFAULT NULL,
  `no_of_attempts` int(11) DEFAULT NULL,
  `response` varchar(255) DEFAULT NULL,
  `source` varchar(255) DEFAULT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_country_master`
--

CREATE TABLE `tai_country_master` (
  `id` int(10) NOT NULL,
  `country` varchar(255) NOT NULL,
  `country_m` varchar(255) DEFAULT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_country_master`
--

INSERT INTO `tai_country_master` (`id`, `country`, `country_m`, `remark`, `is_active`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(12, 'India', NULL, NULL, 1, NULL, NULL, NULL, NULL),
(13, 'Japan', NULL, NULL, 0, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_customer_master`
--

CREATE TABLE `tai_customer_master` (
  `id` bigint(20) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `customer_type` varchar(255) DEFAULT NULL,
  `contact_no` varchar(255) DEFAULT NULL,
  `email_id` varchar(255) DEFAULT NULL,
  `whatsapp_contact_no` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` varchar(255) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_department_master`
--

CREATE TABLE `tai_department_master` (
  `id` bigint(20) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `designation` varchar(255) DEFAULT NULL,
  `department` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_department_master`
--

INSERT INTO `tai_department_master` (`id`, `tenant_id`, `designation`, `department`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(24, NULL, NULL, 'IT', 1, NULL, NULL, NULL, NULL),
(25, NULL, NULL, 'Hardware', 0, NULL, NULL, NULL, NULL),
(26, NULL, NULL, 'Food', 1, NULL, NULL, NULL, NULL),
(27, NULL, NULL, 'Food2', 1, NULL, NULL, NULL, NULL),
(28, NULL, NULL, 'Foodwww', 1, NULL, NULL, NULL, NULL),
(29, NULL, NULL, 'qwer', 1, NULL, NULL, NULL, NULL),
(30, NULL, NULL, 'qwertyhg', 1, NULL, NULL, NULL, NULL),
(31, NULL, NULL, 'qazzxsw', 1, NULL, NULL, NULL, NULL),
(32, NULL, NULL, 'Foodedcv', 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_designation_master`
--

CREATE TABLE `tai_designation_master` (
  `id` bigint(20) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `designation` varchar(255) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_designation_master`
--

INSERT INTO `tai_designation_master` (`id`, `tenant_id`, `designation`, `remark`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(20, NULL, 'Testng', NULL, NULL, NULL, NULL, NULL, NULL),
(21, NULL, 'Dev', NULL, NULL, NULL, NULL, NULL, NULL),
(22, NULL, 'Developer', NULL, NULL, NULL, NULL, NULL, NULL),
(23, NULL, '4', NULL, NULL, NULL, NULL, NULL, NULL),
(24, NULL, 'Manager ', NULL, 1, NULL, NULL, NULL, NULL),
(25, NULL, 'Admin', NULL, 0, NULL, NULL, NULL, NULL),
(26, NULL, 'CEO', NULL, 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_menu_master`
--

CREATE TABLE `tai_menu_master` (
  `id` bigint(20) DEFAULT NULL,
  `tenant_id` int(255) DEFAULT NULL,
  `menu_name` varchar(255) DEFAULT NULL,
  `menu_type` varchar(255) DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `color` varchar(255) DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_menu_role_mapping`
--

CREATE TABLE `tai_menu_role_mapping` (
  `id` bigint(20) DEFAULT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `role_id` int(11) DEFAULT NULL,
  `menu_id` int(11) DEFAULT NULL,
  `can_create` enum('Y','N') DEFAULT NULL,
  `can_read` enum('Y','N') DEFAULT NULL,
  `can_update` enum('Y','N') DEFAULT NULL,
  `can_delete` enum('Y','N') DEFAULT NULL,
  `can_print` enum('Y','N') DEFAULT NULL,
  `can_export` enum('Y','N') DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_modules`
--

CREATE TABLE `tai_modules` (
  `id` int(11) NOT NULL,
  `module_name` varchar(255) NOT NULL,
  `url` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_modules`
--

INSERT INTO `tai_modules` (`id`, `module_name`, `url`) VALUES
(1, 'Department Master', 'DepartmentMaster'),
(2, 'Create Form', 'CreateForm'),
(3, 'Designation Master', 'DesignationMaster'),
(4, 'User Master', 'UserMaster'),
(5, 'Status Master', 'StatusMaster'),
(6, 'Role Master', 'RoleMaster'),
(7, 'Employee Master', 'Employee Master'),
(8, 'Communication Master', 'CommunicationMaster'),
(9, 'Country Master', 'CountryMaster'),
(10, 'Customer Master', 'CustomerMaster'),
(11, 'Menu Master', 'MenuMaster'),
(12, 'City Master', 'CityMaster'),
(13, 'Tenant Master', 'TenantMaster'),
(14, 'Ticket Master', 'TicketMaster'),
(15, 'State Master', 'StateMaster');

-- --------------------------------------------------------

--
-- Table structure for table `tai_role_master`
--

CREATE TABLE `tai_role_master` (
  `id` bigint(20) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `role` varchar(255) NOT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_role_master`
--

INSERT INTO `tai_role_master` (`id`, `tenant_id`, `role`, `remark`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(31, NULL, 'AC', NULL, 0, NULL, NULL, NULL, NULL),
(32, NULL, 'Admin', NULL, 1, NULL, NULL, NULL, NULL),
(33, NULL, 'qwed', NULL, 0, NULL, NULL, NULL, NULL),
(34, NULL, 'qwerfdsa', NULL, 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_session`
--

CREATE TABLE `tai_session` (
  `id` bigint(20) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `session` varchar(255) DEFAULT NULL,
  `is_expired` char(255) DEFAULT NULL,
  `device_detail` varchar(255) DEFAULT NULL,
  `ip_address` varchar(255) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_session`
--

INSERT INTO `tai_session` (`id`, `user_id`, `tenant_id`, `session`, `is_expired`, `device_detail`, `ip_address`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(1, 1, 1, 'asdfghj', 'asdfg', 'asdfg', '1254566', 45, 'asdfgh', 52, 'asdfgh');

-- --------------------------------------------------------

--
-- Table structure for table `tai_setting_detail`
--

CREATE TABLE `tai_setting_detail` (
  `id` int(11) DEFAULT NULL,
  `setting_id` int(11) DEFAULT NULL,
  `setting_value` varchar(255) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` char(255) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_setting_master`
--

CREATE TABLE `tai_setting_master` (
  `id` int(11) DEFAULT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `setting_group_id` int(11) DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  `default_value` varchar(255) DEFAULT NULL,
  `allow_value` varchar(255) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` char(255) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_stage_master`
--

CREATE TABLE `tai_stage_master` (
  `id` int(10) NOT NULL,
  `stage` varchar(255) NOT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_state_master`
--

CREATE TABLE `tai_state_master` (
  `id` int(11) NOT NULL,
  `state` varchar(255) NOT NULL,
  `state_m` varchar(255) DEFAULT NULL,
  `country_id` int(11) NOT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_state_master`
--

INSERT INTO `tai_state_master` (`id`, `state`, `state_m`, `country_id`, `remark`, `is_active`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(9, 'Maharashtra', NULL, 12, NULL, 1, NULL, NULL, NULL, NULL),
(10, 'Karnataka', NULL, 12, NULL, 1, NULL, NULL, NULL, NULL),
(11, 'Gujrat', NULL, 12, NULL, 1, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_status_master`
--

CREATE TABLE `tai_status_master` (
  `id` bigint(20) NOT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `status` varchar(765) DEFAULT NULL,
  `remark` varchar(765) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_status_master`
--

INSERT INTO `tai_status_master` (`id`, `tenant_id`, `status`, `remark`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(7, NULL, 'dsfTesting ABC', NULL, NULL, NULL, NULL, NULL, NULL),
(8, NULL, 'Testing', NULL, NULL, NULL, NULL, NULL, NULL),
(9, NULL, 'Test', NULL, NULL, NULL, NULL, NULL, NULL),
(10, NULL, 'dfdsf', NULL, NULL, NULL, NULL, NULL, NULL),
(11, NULL, 'v', NULL, NULL, NULL, NULL, NULL, NULL),
(12, NULL, 'v', NULL, NULL, NULL, NULL, NULL, NULL),
(13, NULL, 'dsgsdfg', NULL, 1, NULL, NULL, NULL, NULL),
(14, NULL, 'dsgsdfg dd', NULL, 0, NULL, NULL, NULL, NULL),
(15, NULL, 'dfgg', NULL, 0, NULL, NULL, NULL, NULL),
(16, NULL, 'qwrt', NULL, 0, NULL, NULL, NULL, NULL),
(17, NULL, 'dsgsdfgq', NULL, 0, NULL, NULL, NULL, NULL),
(18, NULL, 'dsgsdfg qqq', NULL, 0, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_template_master `
--

CREATE TABLE `tai_template_master ` (
  `id` int(10) NOT NULL,
  `templete_name` varchar(255) NOT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `is_active` int(1) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_tenant_master`
--

CREATE TABLE `tai_tenant_master` (
  `id` int(11) DEFAULT NULL,
  `tenant_id` int(11) DEFAULT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `company_type` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` varchar(255) DEFAULT NULL,
  `company_logo` varchar(255) DEFAULT NULL,
  `valid_till` datetime DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `tai_ticket_master`
--

CREATE TABLE `tai_ticket_master` (
  `id` int(11) NOT NULL,
  `object_id` varchar(225) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `ticket_id` varchar(255) DEFAULT NULL,
  `ticket_date` date NOT NULL,
  `expected_solve_date` date DEFAULT NULL,
  `assign_to_department_id` int(11) DEFAULT NULL,
  `assign_to_user_id` int(11) DEFAULT NULL,
  `type_id` varchar(220) DEFAULT NULL,
  `priority` varchar(255) DEFAULT NULL,
  `status_id` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tai_ticket_master`
--

INSERT INTO `tai_ticket_master` (`id`, `object_id`, `user_id`, `ticket_id`, `ticket_date`, `expected_solve_date`, `assign_to_department_id`, `assign_to_user_id`, `type_id`, `priority`, `status_id`, `description`) VALUES
(20, '61de41c56273cd2f79bb0cb2', NULL, 'T20230', '2022-01-12', NULL, 22, 8, 'Change', 'Low', 7, NULL),
(36, '61de7aeaeed927e5d7c07036', NULL, 'T20246', '2022-01-12', '1970-01-01', 22, 18, 'New', 'Low', 8, NULL),
(37, '61ded813971d0d6e4bcebde4', NULL, 'T20247', '2022-01-12', NULL, 22, 8, 'New', 'Low', 9, NULL),
(38, '61dff494e0bf4a76de5745be', NULL, 'T20248', '2022-01-13', NULL, 22, 8, 'Change', 'Medium', 8, NULL),
(39, '61dff5bde0bf4a76de5745c0', NULL, 'T20249', '2022-01-13', '1970-01-01', 22, 18, 'New', 'Low', 7, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tai_user_setting_master`
--

CREATE TABLE `tai_user_setting_master` (
  `id` int(10) NOT NULL,
  `remark` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `add_template`
--
ALTER TABLE `add_template`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `dynamic_form`
--
ALTER TABLE `dynamic_form`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_city_master`
--
ALTER TABLE `tai_city_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_communication_detail`
--
ALTER TABLE `tai_communication_detail`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_country_master`
--
ALTER TABLE `tai_country_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_customer_master`
--
ALTER TABLE `tai_customer_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_department_master`
--
ALTER TABLE `tai_department_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_designation_master`
--
ALTER TABLE `tai_designation_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_modules`
--
ALTER TABLE `tai_modules`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_role_master`
--
ALTER TABLE `tai_role_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_state_master`
--
ALTER TABLE `tai_state_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_status_master`
--
ALTER TABLE `tai_status_master`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tai_ticket_master`
--
ALTER TABLE `tai_ticket_master`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `add_template`
--
ALTER TABLE `add_template`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `dynamic_form`
--
ALTER TABLE `dynamic_form`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `tai_city_master`
--
ALTER TABLE `tai_city_master`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `tai_communication_detail`
--
ALTER TABLE `tai_communication_detail`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tai_country_master`
--
ALTER TABLE `tai_country_master`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `tai_customer_master`
--
ALTER TABLE `tai_customer_master`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tai_department_master`
--
ALTER TABLE `tai_department_master`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT for table `tai_designation_master`
--
ALTER TABLE `tai_designation_master`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `tai_modules`
--
ALTER TABLE `tai_modules`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `tai_role_master`
--
ALTER TABLE `tai_role_master`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;

--
-- AUTO_INCREMENT for table `tai_state_master`
--
ALTER TABLE `tai_state_master`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `tai_status_master`
--
ALTER TABLE `tai_status_master`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tai_ticket_master`
--
ALTER TABLE `tai_ticket_master`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;
COMMIT;

