//! A discount profile's product membership (meaning depends on the profile's
//! scope: included products, or excluded ones).

pub use crate::models::_entities::discount_profile_products::{ActiveModel, Column, Entity, Model};
use sea_orm::entity::prelude::*;

pub type DiscountProfileProducts = 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)
    }
}
