-- phpMyAdmin SQL Dump
-- version 5.2.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Oct 31, 2026 at 01:06 PM
-- Server version: 10.11.19-MariaDB
-- PHP Version: 8.4.27

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `teamwork_yash`
--

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

--
-- Table structure for table `admin_settings`
--

CREATE TABLE `admin_settings` (
  `admin_id` int(11) NOT NULL,
  `uname` varchar(200) NOT NULL,
  `pwd` varchar(200) NOT NULL,
  `email_id` varchar(200) NOT NULL,
  `status` char(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `admin_settings`
--

INSERT INTO `admin_settings` (`admin_id`, `uname`, `pwd`, `email_id`, `status`) VALUES
(1, 'admin', 'admin', 'vigneshteamwork@gmail.com', 'Active');

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

--
-- Table structure for table `client`
--

CREATE TABLE `client` (
  `client_id` int(11) NOT NULL,
  `client_code` varchar(200) NOT NULL,
  `name` varchar(200) NOT NULL,
  `mobile_no` varchar(200) NOT NULL,
  `email_id` varchar(200) NOT NULL,
  `address` text NOT NULL,
  `pwd` varchar(200) NOT NULL,
  `company_logo` varchar(200) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `client`
--

INSERT INTO `client` (`client_id`, `client_code`, `name`, `mobile_no`, `email_id`, `address`, `pwd`, `company_logo`, `created_at`, `status`) VALUES
(2, 'COMPANY002', 'ANWYL HEALTH CARE', '8754174111', 'anwylhealthcare@gmail.com', 'Salem', '123456', '07322600_1769063012_20260122115332000000.png', '2026-01-22 11:53:32', 'yes'),
(3, 'COMPANY003', 'LEKSHA PHARMA', '9944055224', 'lekshaapharma@gmail.com', 'Salem', '123456', '94216400_1769080129_20260122163849000000.png', '2026-01-22 16:38:49', 'yes'),
(4, 'COMPANY004', 'AMARIX PHARMACEUTICALS', '9659473428', 'amarixpharmaceuticals@gmail.com', 'SALEM', '123456', '92540700_1771653522_20260221112842000000.png', '2026-02-21 11:28:42', 'yes');

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

--
-- Table structure for table `customer`
--

CREATE TABLE `customer` (
  `customer_id` int(11) NOT NULL,
  `customer_code` varchar(200) NOT NULL,
  `name` varchar(200) NOT NULL,
  `mobile_no` varchar(200) NOT NULL,
  `email_id` varchar(200) NOT NULL,
  `address` text NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `function_category`
--

CREATE TABLE `function_category` (
  `function_category_id` int(11) NOT NULL,
  `function_category_name` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `function_category`
--

INSERT INTO `function_category` (`function_category_id`, `function_category_name`, `status`) VALUES
(1, 'GYNAC', 'yes'),
(2, 'ORTHO', 'yes'),
(3, 'DIABETIC', 'yes'),
(4, 'LEKSHA-ALL', 'yes'),
(5, 'X-DOCTOR', 'yes'),
(6, 'AMARIX', 'yes'),
(7, 'DIABET-DOCT', 'yes');

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

--
-- Table structure for table `home_page_banners`
--

CREATE TABLE `home_page_banners` (
  `home_page_banners_id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `url` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `main_page_banners`
--

CREATE TABLE `main_page_banners` (
  `main_page_banners_id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `url` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `news`
--

CREATE TABLE `news` (
  `news_id` int(11) NOT NULL,
  `news` text NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `photo`
--

CREATE TABLE `photo` (
  `photo_id` int(11) NOT NULL,
  `client_code` varchar(200) NOT NULL,
  `function_category_id` varchar(200) NOT NULL,
  `photo_category_id` varchar(200) NOT NULL,
  `name` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `photo`
--

INSERT INTO `photo` (`photo_id`, `client_code`, `function_category_id`, `photo_category_id`, `name`, `status`) VALUES
(1, 'COMPANY001', '1', '1', 'Amarix Ads Part - 1', 'yes'),
(2, 'COMPANY001', '2', '2', 'Amarix Ads Part - 2', 'yes'),
(3, 'COMPANY001', '3', '1', 'Amarix Ads Part - 3', 'yes'),
(4, 'COMPANY002', '1', '3', 'ANWYL HEALTH CARE', 'yes'),
(5, 'COMPANY003', '4', '5', 'LEKSHA PHARMA', 'yes'),
(6, 'COMPANY003', '4', '5', 'LEKSHA PHARMA', 'yes'),
(7, 'COMPANY003', '4', '5', 'LEKSHA PHARMA', 'yes'),
(8, 'COMPANY003', '4', '5', 'LEKSHA PHARMA', 'yes'),
(9, 'COMPANY003', '5', '5', 'X-DOCTOR', 'yes'),
(10, 'COMPANY004', '6', '6', 'AMARIX-VISUAL AID', 'yes'),
(11, 'COMPANY004', '6', '6', 'AMARIX-VISUAL AID', 'yes'),
(12, 'COMPANY004', '7', '6', 'DIABT', 'yes');

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

--
-- Table structure for table `photo_category`
--

CREATE TABLE `photo_category` (
  `photo_category_id` int(11) NOT NULL,
  `photo_category_name` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `photo_category`
--

INSERT INTO `photo_category` (`photo_category_id`, `photo_category_name`, `status`) VALUES
(1, 'Amarix-1', 'yes'),
(2, 'Amarix-2', 'yes'),
(3, 'ANWYL-GYNAC', 'yes'),
(4, 'ANWYL-DIABET', 'yes'),
(5, 'LEKSHA-VA', 'yes'),
(6, 'AMARIX-ALL', 'yes');

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

--
-- Table structure for table `photo_details`
--

CREATE TABLE `photo_details` (
  `photo_details_id` int(11) NOT NULL,
  `photo_id` varchar(200) NOT NULL,
  `type` varchar(200) NOT NULL,
  `url` varchar(200) NOT NULL,
  `status` int(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `photo_details`
--

INSERT INTO `photo_details` (`photo_details_id`, `photo_id`, `type`, `url`, `status`) VALUES
(1, '1', 'normal', '93062800_1768372216020260114120016000000.jpg', 0),
(2, '1', 'normal', '96480100_1768372216120260114120016000000.jpg', 0),
(3, '1', 'normal', '99621600_1768372216220260114120016000000.jpg', 0),
(4, '1', 'normal', '02410800_1768372217320260114120017000000.jpg', 0),
(5, '1', 'normal', '05759100_1768372217420260114120017000000.jpg', 0),
(6, '1', 'normal', '08792700_1768372217520260114120017000000.jpg', 0),
(7, '1', 'normal', '11839900_1768372217620260114120017000000.jpg', 0),
(8, '1', 'normal', '14907100_1768372217720260114120017000000.jpg', 0),
(9, '1', 'normal', '17902700_1768372217820260114120017000000.jpg', 0),
(10, '1', 'normal', '21132200_1768372217920260114120017000000.jpg', 0),
(11, '2', 'normal', '33092000_1768372350020260114120230000000.jpg', 0),
(12, '2', 'normal', '36530800_1768372350120260114120230000000.jpg', 0),
(13, '2', 'normal', '39581100_1768372350220260114120230000000.jpg', 0),
(14, '2', 'normal', '43044500_1768372350320260114120230000000.jpg', 0),
(15, '2', 'normal', '46431400_1768372350420260114120230000000.jpg', 0),
(16, '2', 'normal', '49819900_1768372350520260114120230000000.jpg', 0),
(17, '3', 'normal', '62335300_1768372378020260114120258000000.jpg', 0),
(18, '3', 'normal', '66177000_1768372378120260114120258000000.jpg', 0),
(19, '3', 'normal', '70366200_1768372378220260114120258000000.jpg', 0),
(20, '3', 'normal', '74156900_1768372378320260114120258000000.jpg', 0),
(21, '3', 'normal', '80416700_1768372378420260114120258000000.jpg', 0),
(23, '3', 'normal', '27025000_1768372408020260114120328000000.jpg', 0),
(24, '4', 'normal', '95331400_1769063150020260122115550000000.jpg', 0),
(25, '4', 'normal', '84918000_1769063151120260122115551000000.jpg', 0),
(26, '4', 'normal', '93717500_1769063152220260122115552000000.jpg', 0),
(27, '4', 'normal', '96418000_1769063153320260122115553000000.jpg', 0),
(28, '4', 'normal', '92119100_1769063154420260122115554000000.jpg', 0),
(29, '4', 'normal', '11320600_1769063259020260122115739000000.jpg', 0),
(30, '4', 'normal', '94616000_1769063259120260122115739000000.jpg', 0),
(31, '4', 'normal', '77719200_1769063260220260122115740000000.jpg', 0),
(32, '4', 'normal', '15318500_1769063282020260122115802000000.jpg', 0),
(33, '4', 'normal', '04918900_1769063283120260122115803000000.jpg', 0),
(34, '4', 'normal', '13717500_1769063284220260122115804000000.jpg', 0),
(35, '4', 'normal', '22517900_1769063285320260122115805000000.jpg', 0),
(36, '4', 'normal', '37721300_1769063286420260122115806000000.jpg', 0),
(37, '4', 'normal', '17721600_1769063299020260122115819000000.jpg', 0),
(38, '4', 'normal', '07318500_1769063300120260122115820000000.jpg', 0),
(39, '4', 'normal', '41718600_1769063301220260122115821000000.jpg', 0),
(40, '5', 'normal', '77718300_1769080346020260122164226000000.jpg', 0),
(41, '5', 'normal', '62518200_1769080347120260122164227000000.jpg', 0),
(42, '5', 'normal', '07319800_1769080348220260122164228000000.jpg', 0),
(43, '5', 'normal', '40116700_1769080348320260122164228000000.jpg', 0),
(44, '5', 'normal', '81717500_1769080348420260122164228000000.jpg', 0),
(45, '5', 'normal', '25717400_1769080349520260122164229000000.jpg', 0),
(46, '5', 'normal', '18518800_1769080350620260122164230000000.jpg', 0),
(47, '5', 'normal', '76119200_1769080350720260122164230000000.jpg', 0),
(48, '5', 'normal', '04117000_1769080351820260122164231000000.jpg', 0),
(49, '5', 'normal', '44917500_1769080351920260122164231000000.jpg', 0),
(50, '6', 'normal', '52118100_1769080377020260122164257000000.jpg', 0),
(51, '6', 'normal', '81717200_1769080377120260122164257000000.jpg', 0),
(52, '6', 'normal', '47319800_1769080378220260122164258000000.jpg', 0),
(53, '6', 'normal', '82521500_1769080378320260122164258000000.jpg', 0),
(54, '6', 'normal', '43319100_1769080379420260122164259000000.jpg', 0),
(55, '6', 'normal', '84117500_1769080379520260122164259000000.jpg', 0),
(56, '6', 'normal', '39333400_1769080380620260122164300000000.jpg', 0),
(57, '6', 'normal', '64182700_1769080380720260122164300000000.jpg', 0),
(58, '6', 'normal', '08120500_1769080381820260122164301000000.jpg', 0),
(59, '6', 'normal', '30522400_1769080381920260122164301000000.jpg', 0),
(60, '7', 'normal', '37885500_1769080401020260122164321000000.jpg', 0),
(61, '7', 'normal', '08919000_1769080402120260122164322000000.jpg', 0),
(62, '7', 'normal', '41721600_1769080402220260122164322000000.jpg', 0),
(63, '7', 'normal', '77718200_1769080402320260122164322000000.jpg', 0),
(64, '7', 'normal', '02520000_1769080403420260122164323000000.jpg', 0),
(65, '7', 'normal', '41722200_1769080403520260122164323000000.jpg', 0),
(66, '7', 'normal', '72118900_1769080403620260122164323000000.jpg', 0),
(67, '7', 'normal', '00919800_1769080404720260122164324000000.jpg', 0),
(68, '7', 'normal', '29017300_1769080404820260122164324000000.jpg', 0),
(69, '8', 'normal', '05723500_1769080437020260122164357000000.jpg', 0),
(70, '8', 'normal', '40117900_1769080437120260122164357000000.jpg', 0),
(71, '8', 'normal', '82518700_1769080437220260122164357000000.jpg', 0),
(72, '8', 'normal', '10523700_1769080438320260122164358000000.jpg', 0),
(73, '8', 'normal', '59318600_1769080438420260122164358000000.jpg', 0),
(74, '8', 'normal', '89719200_1769080438520260122164358000000.jpg', 0),
(75, '8', 'normal', '36917500_1769080439620260122164359000000.jpg', 0),
(76, '8', 'normal', '68117000_1769080439720260122164359000000.jpg', 0),
(77, '8', 'normal', '36121600_1769080440820260122164400000000.jpg', 0),
(78, '8', 'normal', '69722100_1769080440920260122164400000000.jpg', 0),
(79, '9', 'normal', '65720700_1769081075020260122165435000000.jpg', 0),
(80, '9', 'normal', '52137900_1769081076120260122165436000000.jpg', 0),
(81, '9', 'normal', '95324200_1769081076220260122165436000000.jpg', 0),
(82, '9', 'normal', '28117100_1769081077320260122165437000000.jpg', 0),
(83, '9', 'normal', '69823400_1769081077420260122165437000000.jpg', 0),
(84, '9', 'normal', '13717000_1769081078520260122165438000000.jpg', 0),
(85, '9', 'normal', '08118000_1769081079620260122165439000000.jpg', 0),
(86, '9', 'normal', '57718300_1769081079720260122165439000000.jpg', 0),
(87, '9', 'normal', '91319000_1769081079820260122165439000000.jpg', 0),
(88, '9', 'normal', '32119200_1769081080920260122165440000000.jpg', 0),
(93, '11', 'normal', '75989300_1771846435020260223170355000000.jpg', 0),
(94, '11', 'normal', '19182200_1771846436120260223170356000000.jpg', 0),
(95, '11', 'normal', '67285100_1771846436220260223170356000000.jpg', 0),
(96, '11', 'normal', '07188100_1771846437320260223170357000000.jpg', 0),
(97, '11', 'normal', '52782300_1771846437420260223170357000000.jpg', 0),
(98, '11', 'normal', '99985800_1771846474020260223170434000000.jpg', 0),
(99, '11', 'normal', '44782400_1771846475120260223170435000000.jpg', 0),
(100, '11', 'normal', '83284500_1771846475220260223170435000000.jpg', 0),
(101, '11', 'normal', '20887800_1771846476320260223170436000000.jpg', 0),
(102, '11', 'normal', '56782800_1771846476420260223170436000000.jpg', 0),
(103, '11', 'normal', '99983300_1771846476520260223170436000000.jpg', 0),
(104, '11', 'normal', '04786000_1771846493020260223170453000000.jpg', 0),
(105, '11', 'normal', '50381700_1771846493120260223170453000000.jpg', 0),
(106, '11', 'normal', '95181200_1771846493220260223170453000000.jpg', 0),
(107, '11', 'normal', '32782000_1771846494320260223170454000000.jpg', 0),
(108, '11', 'normal', '71185100_1771846494420260223170454000000.jpg', 0),
(109, '11', 'normal', '09581500_1771846495520260223170455000000.jpg', 0),
(110, '11', 'normal', '48782200_1771846495620260223170455000000.jpg', 0),
(111, '11', 'normal', '75984600_1771846522020260223170522000000.jpg', 0),
(112, '11', 'normal', '16084600_1771846523120260223170523000000.jpg', 0),
(113, '11', 'normal', '14382200_1771846524220260223170524000000.jpg', 0),
(114, '11', 'normal', '49579400_1771846524320260223170524000000.jpg', 0),
(115, '11', 'normal', '84781800_1771846524420260223170524000000.jpg', 0),
(116, '11', 'normal', '61682500_1771846525520260223170525000000.jpg', 0),
(117, '11', 'normal', '11983100_1771846526620260223170526000000.jpg', 0),
(118, '12', 'normal', '91356500_1771851356020260223182556000000.jpeg', 0),
(119, '12', 'normal', '99181300_1771851360120260223182600000000.jpeg', 0);

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

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `user_id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `email_id` varchar(200) NOT NULL,
  `mobile_no` varchar(200) NOT NULL,
  `usercode` varchar(200) NOT NULL,
  `pwd` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `video`
--

CREATE TABLE `video` (
  `video_id` int(11) NOT NULL,
  `title` varchar(200) NOT NULL,
  `url` varchar(200) NOT NULL,
  `status` char(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `admin_settings`
--
ALTER TABLE `admin_settings`
  ADD PRIMARY KEY (`admin_id`);

--
-- Indexes for table `client`
--
ALTER TABLE `client`
  ADD PRIMARY KEY (`client_id`);

--
-- Indexes for table `customer`
--
ALTER TABLE `customer`
  ADD PRIMARY KEY (`customer_id`);

--
-- Indexes for table `function_category`
--
ALTER TABLE `function_category`
  ADD PRIMARY KEY (`function_category_id`);

--
-- Indexes for table `home_page_banners`
--
ALTER TABLE `home_page_banners`
  ADD PRIMARY KEY (`home_page_banners_id`);

--
-- Indexes for table `main_page_banners`
--
ALTER TABLE `main_page_banners`
  ADD PRIMARY KEY (`main_page_banners_id`);

--
-- Indexes for table `news`
--
ALTER TABLE `news`
  ADD PRIMARY KEY (`news_id`);

--
-- Indexes for table `photo`
--
ALTER TABLE `photo`
  ADD PRIMARY KEY (`photo_id`);

--
-- Indexes for table `photo_category`
--
ALTER TABLE `photo_category`
  ADD PRIMARY KEY (`photo_category_id`);

--
-- Indexes for table `photo_details`
--
ALTER TABLE `photo_details`
  ADD PRIMARY KEY (`photo_details_id`);

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`user_id`);

--
-- Indexes for table `video`
--
ALTER TABLE `video`
  ADD PRIMARY KEY (`video_id`);

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `client`
--
ALTER TABLE `client`
  MODIFY `client_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `customer`
--
ALTER TABLE `customer`
  MODIFY `customer_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `function_category`
--
ALTER TABLE `function_category`
  MODIFY `function_category_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `home_page_banners`
--
ALTER TABLE `home_page_banners`
  MODIFY `home_page_banners_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `main_page_banners`
--
ALTER TABLE `main_page_banners`
  MODIFY `main_page_banners_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
  MODIFY `news_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `photo`
--
ALTER TABLE `photo`
  MODIFY `photo_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `photo_category`
--
ALTER TABLE `photo_category`
  MODIFY `photo_category_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `photo_details`
--
ALTER TABLE `photo_details`
  MODIFY `photo_details_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=120;

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `video`
--
ALTER TABLE `video`
  MODIFY `video_id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
