feat: add author optional parameter to the BookInstance search payload

This commit is contained in:
Ninjdai 2025-08-09 11:03:48 +02:00
parent 9bbdb9decb
commit 61aac4bd80
2 changed files with 14 additions and 12 deletions

View file

@ -15,12 +15,6 @@ pub struct Model {
pub enum Relation {
#[sea_orm(has_many = "super::book_instance::Entity")]
BookInstance,
#[sea_orm(
belongs_to = "super::user::Entity",
from = "Column::Id",
to = "super::user::Column::CurrentBalId"
)]
User,
}
impl Related<super::book_instance::Entity> for Entity {