[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/mysql/tables/ -> llx_voyage.sql (source)

   1  -- ===================================================================
   2  -- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3  --
   4  -- $Id: llx_voyage.sql,v 1.5 2004/10/10 10:25:57 opensides Exp $
   5  -- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_voyage.sql,v $
   6  --
   7  -- This program is free software; you can redistribute it and/or modify
   8  -- it under the terms of the GNU General Public License as published by
   9  -- the Free Software Foundation; either version 2 of the License, or
  10  -- (at your option) any later version.
  11  --
  12  -- This program is distributed in the hope that it will be useful,
  13  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  14  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15  -- GNU General Public License for more details.
  16  --
  17  -- You should have received a copy of the GNU General Public License
  18  -- along with this program; if not, write to the Free Software
  19  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20  --
  21  -- insert into llx_voyage (date_depart, date_arrivee, amount, depart, arrivee, fk_reduc) 
  22  -- values ('2002-04-21 12:05','2002-04-21 15:25',26.8,'Paris','Auray',1)
  23  
  24  -- insert into llx_voyage (date_depart, date_arrivee, amount, depart, arrivee, fk_reduc) 
  25  -- values ('2002-04-23 15:42','2002-04-23 19:10',26.8,'Auray','Paris',1)
  26  -- ===================================================================
  27  
  28  create table llx_voyage
  29  (
  30    rowid           integer AUTO_INCREMENT PRIMARY KEY,
  31    datec           datetime,
  32  
  33    dateo           date,                    -- date operation
  34    date_depart     datetime,                -- date du voyage
  35    date_arrivee    datetime,                -- date du voyage
  36    amount          real NOT NULL DEFAULT 0, -- prix du billet
  37    reduction       real NOT NULL DEFAULT 0, -- montant de la reduction obtenue
  38    depart          varchar(255),
  39    arrivee         varchar(255),
  40    fk_type         smallint,                -- Train, Avion, Bateaux
  41    fk_reduc        integer,
  42    distance        integer,                 -- distance en kilometre
  43    dossier         varchar(50),             -- numero de dossier
  44    note            text
  45  )type=innodb;


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics