webservice/config/_sql/clientsTarif.sql

19 lines
687 B
MySQL
Raw Normal View History

2012-05-23 12:41:00 +00:00
--
-- Structure de la table `clientsTarif`
--
CREATE TABLE IF NOT EXISTS `clientsTarif` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`idClient` int(11) NOT NULL,
`service` char(20) NOT NULL,
`login` char(20) NOT NULL,
`log` char(20) NOT NULL,
`type` enum('Unitaire','Forfait limité','Forfait illimité','') NOT NULL,
`tarif` float NOT NULL,
`dateDebut` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`duree` int(11) NOT NULL,
`terme` enum('fin','debut') NOT NULL DEFAULT 'fin',
`doublon` enum('jour','mois','durée','') NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM COMMENT='Définition des tarifs pour les clients et services' AUTO_INCREMENT=1 ;