feat: add author optional parameter to the BookInstance search payload
This commit is contained in:
parent
9bbdb9decb
commit
61aac4bd80
2 changed files with 14 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Reference in a new issue