[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

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

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


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