Added reviews. Added pricing.
Build and Publish / Build and Publish Docker Image (push) Successful in 6m27s

This commit is contained in:
Ultradesu
2026-05-11 11:34:11 +01:00
parent ff32e6bbaf
commit d1ef66acc1
14 changed files with 839 additions and 194 deletions
+18 -1
View File
@@ -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]