noalyss Version-9
user_filter_sql.class.php
Go to the documentation of this file.
1<?php
2
3/**
4 * Autogenerated file
5 * This file is part of NOALYSS.
6 *
7 * NOALYSS 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 * NOALYSS 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 NOALYSS; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * author : Dec 2017 , Dany De Bontridder (danydb@noalyss.eu)
21 */
22
23/**
24 * class_user_filter_sql.php
25 *
26 * @file
27 * @brief abstract of the table public.user_filter
28 */
29
30/**
31 * @class User_filter_SQL
32 * @brief ORM abstract of the table public.user_filter
33 */
35{
36
37 function __construct(DatabaseCore $p_cn, $p_id=-1)
38 {
39 $this->table="public.user_filter";
40 $this->primary_key="id";
41 /*
42 * List of columns
43 */
44 $this->name=array(
45 "id"=>"id"
46 , "login"=>"login"
47 , "nb_jrn"=>"nb_jrn"
48 , "date_start"=>"date_start"
49 , "date_end"=>"date_end"
50 , "description"=>"description"
51 , "amount_min"=>"amount_min"
52 , "amount_max"=>"amount_max"
53 , "qcode"=>"qcode"
54 , "accounting"=>"accounting"
55 , "r_jrn"=>"r_jrn"
56 , "date_paid_start"=>"date_paid_start"
57 , "date_paid_end"=>"date_paid_end"
58 , "ledger_type"=>"ledger_type"
59 , "all_ledger"=>"all_ledger"
60 ,"operation_filter"=>"operation_filter"
61 ,'filter_name'=>"filter_name"
62 ,'uf_tag'=>'uf_tag'
63 ,'uf_tag_option'=>'uf_tag_option'
64 ,'uf_currency_code'=>'uf_currency_code'
65 ,'tva_id_search'=>'tva_id_search'
66
67 );
68 /*
69 * Type of columns
70 */
71 $this->type=array(
72 "id"=>"numeric"
73 , "login"=>"text"
74 , "nb_jrn"=>"numeric"
75 , "date_start"=>"text"
76 , "date_end"=>"text"
77 , "description"=>"text"
78 , "amount_min"=>"numeric"
79 , "amount_max"=>"numeric"
80 , "qcode"=>"text"
81 , "accounting"=>"text"
82 , "r_jrn"=>"text"
83 , "date_paid_start"=>"text"
84 , "date_paid_end"=>"text"
85 , "ledger_type"=>"text"
86 , "all_ledger"=>"numeric"
87 ,"operation_filter"=>"text"
88 ,"filter_name"=>"text"
89 ,'uf_tag'=>'text'
90 ,'uf_tag_option'=>'numeric'
91 ,'uf_currency_code'=>'numeric'
92 ,'tva_id_search'=>'numeric'
93 );
94
95
96 $this->default=array(
97 "id"=>"auto"
98 );
99
100 $this->date_format="DD.MM.YYYY";
101 parent::__construct($p_cn, $p_id);
102 }
103
104}
$from_poste name
$input_from type
Definition: balance.inc.php:65
This class allow you to connect to the postgresql database, execute sql, retrieve data.
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
ORM abstract of the table public.user_filter.
__construct(DatabaseCore $p_cn, $p_id=-1)
$all table