-- MySQL dump 10.15  Distrib 10.0.20-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: mkradius
-- ------------------------------------------------------
-- Server version	10.0.20-MariaDB-1~jessie

/*!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 utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `sis_produto`
--

DROP TABLE IF EXISTS `sis_produto`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sis_produto` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uuid_produto` varchar(48) DEFAULT NULL,
  `nome` varchar(255) NOT NULL,
  `idforn` int(11) NOT NULL,
  `descricao` longtext,
  `precoatual` decimal(12,2) NOT NULL,
  `precovelho` decimal(12,2) DEFAULT NULL,
  `precocusto` decimal(12,2) DEFAULT NULL,
  `datacad` datetime NOT NULL,
  `ultcompra` datetime DEFAULT NULL,
  `ultalteracao` datetime DEFAULT NULL,
  `peso` decimal(12,2) DEFAULT NULL,
  `ativo` enum('sim','nao') NOT NULL,
  `codbarras` varchar(255) DEFAULT NULL,
  `grupo` varchar(128) DEFAULT NULL,
  `med` varchar(3) DEFAULT NULL,
  `aplicacao` longtext,
  `ipi` int(11) DEFAULT NULL,
  `icms` int(11) DEFAULT NULL,
  `codigo` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nome` (`nome`),
  KEY `uuid_produto` (`uuid_produto`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-10-21  7:39:55
