fbc-starter 0.1.24

A production-ready web server starter for Rust based on Axum, with built-in configuration, logging, CORS, database and Redis support
Documentation
1
2
3
4
5
6
7
8
9
10
11
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SuperEntity<T> {
    pub id: T,
    pub create_time: DateTime<Utc>,
    pub create_by: T,
    pub tenant_id: String,
    pub is_del: bool,
}