mirror of
https://git.42l.fr/neil/sncf.git
synced 2024-06-17 06:55:05 +02:00
17 lines
398 B
Rust
17 lines
398 B
Rust
//use diesel::{self, prelude::*};
|
|
use chrono::NaiveDateTime;
|
|
|
|
use crate::database::schema::form;
|
|
//use crate::config::CONFIG;
|
|
|
|
#[table_name = "form"]
|
|
#[derive(Serialize, Queryable, Insertable, Debug, Clone)]
|
|
pub struct Form {
|
|
pub id: i32,
|
|
pub created_at: NaiveDateTime,
|
|
pub lastvisit_at: NaiveDateTime,
|
|
pub token: String,
|
|
pub nc_username: String,
|
|
pub nc_password: String,
|
|
}
|