Files
kompress_eshop/src/models/account_discount_profiles.rs
Priec 1df8d66d5d
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled
discount profiles and discounts overall implemented and working
2026-06-21 23:46:37 +02:00

17 lines
472 B
Rust

//! Assignment of a discount profile to a business account.
pub use crate::models::_entities::account_discount_profiles::{ActiveModel, Column, Entity, Model};
use sea_orm::entity::prelude::*;
pub type AccountDiscountProfiles = Entity;
#[async_trait::async_trait]
impl ActiveModelBehavior for ActiveModel {
async fn before_save<C>(self, _db: &C, _insert: bool) -> std::result::Result<Self, DbErr>
where
C: ConnectionTrait,
{
Ok(self)
}
}