issue #0001369 : SQL Model
This commit is contained in:
parent
d84eb987ab
commit
76dca1d929
5
application/models/Sdv1Prestations.php
Normal file
5
application/models/Sdv1Prestations.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
class Application_Model_Sdv1Prestations extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'prestations';
|
||||
}
|
31
config/_sql/sdv1.prestations.sql
Normal file
31
config/_sql/sdv1.prestations.sql
Normal file
@ -0,0 +1,31 @@
|
||||
--
|
||||
-- Structure de la table `prestations`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `prestations` (
|
||||
`id` int(11) NOT NULL,
|
||||
`typeprestation` varchar(50) NOT NULL,
|
||||
`source` varchar(50) NOT NULL,
|
||||
`datemiseenplace` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`datepremierefactu` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`freqfacturation` enum('Unitaire','Quotidien','Hebdo','Mensuel','Trimestriel','Annuel','Semestriel') NOT NULL,
|
||||
`datefinprestation` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`prestatest` tinyint(1) NOT NULL,
|
||||
`identifiantPrestation` varchar(100) NOT NULL,
|
||||
`passwordprestation` varchar(100) NOT NULL,
|
||||
`supportprestation` enum('FTP','Email','CD/DVD','CFT') NOT NULL,
|
||||
`identifiantCFT` varchar(100) NOT NULL,
|
||||
`dureecontrat` int(2) NOT NULL,
|
||||
`montantannuelfactu` varchar(10) NOT NULL,
|
||||
`freqenvois` enum('Unitaire','Quotidien','Hebdo','Mensuel','Trimestriel','Annuel','Semestriel') NOT NULL,
|
||||
`formatdesenvois` varchar(100) NOT NULL,
|
||||
`trtnumerotour` int(11) NOT NULL,
|
||||
`trtdatedeniereexec` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`optionsprestation` text NOT NULL,
|
||||
`prestationactive` enum('oui','non') NOT NULL,
|
||||
`optionsupport` text NOT NULL,
|
||||
`mailIN` varchar(100) NOT NULL,
|
||||
`mailOUT` varchar(100) NOT NULL,
|
||||
`osClient` int(11) NOT NULL,
|
||||
`compression` enum('none','zip','gzip','bzip2') NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Prestations Surveillance / Diffusion';
|
Loading…
x
Reference in New Issue
Block a user