table_to_csv/
types.rs

1use chrono::NaiveDate;
2
3/// Represents a database table with its name and column names
4#[derive(Debug, Clone)]
5pub struct Table {
6    pub name: String,
7    pub columns: Vec<String>,
8}
9
10/// Represents a date filter configuration
11#[derive(Debug, Clone)]
12pub struct DateFilter {
13    pub column_name: String,
14    pub start_date: NaiveDate,
15    pub end_date: NaiveDate,
16}
17