Added reviews. Added pricing.
Build and Publish / Build and Publish Docker Image (push) Successful in 6m27s
Build and Publish / Build and Publish Docker Image (push) Successful in 6m27s
This commit is contained in:
+18
-1
@@ -1,4 +1,4 @@
|
||||
use cot::db::{model, Auto, ForeignKey};
|
||||
use cot::db::{Auto, ForeignKey, model};
|
||||
|
||||
/// Lead status: new request from the website
|
||||
/// new -> in_progress -> converted | rejected
|
||||
@@ -185,6 +185,23 @@ pub struct User {
|
||||
pub updated_at: chrono::NaiveDateTime,
|
||||
}
|
||||
|
||||
/// A testimonial/review displayed on the landing page.
|
||||
#[derive(Debug, Clone)]
|
||||
#[model]
|
||||
pub struct Testimonial {
|
||||
#[model(primary_key)]
|
||||
pub id: Auto<i64>,
|
||||
pub text: String,
|
||||
/// Optional short note (e.g. client name, pet type).
|
||||
pub author_note: Option<String>,
|
||||
/// Optional image path.
|
||||
pub image_path: Option<String>,
|
||||
/// active | hidden
|
||||
pub status: String,
|
||||
pub sort_order: i32,
|
||||
pub created_at: chrono::NaiveDateTime,
|
||||
}
|
||||
|
||||
/// Global key-value settings (telegram_bot_token, telegram_chat_id, etc.).
|
||||
#[derive(Debug, Clone)]
|
||||
#[model]
|
||||
|
||||
Reference in New Issue
Block a user