Example #1
0
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'name' => ['type' => Enjoin::String()]];
 }
Example #2
0
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'books_id' => ['type' => Enjoin::Integer()], 'resource' => ['type' => Enjoin::String()], 'content' => ['type' => Enjoin::String()]];
 }
Example #3
0
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'authors_id' => ['type' => Enjoin::Integer()], 'year' => ['type' => Enjoin::Integer()], 'title' => ['type' => Enjoin::String()], 'content' => ['type' => Enjoin::Text()]];
 }
Example #4
0
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'authors_id' => ['type' => Enjoin::Integer()], 'languages_id' => ['type' => Enjoin::Integer()], 'title' => ['type' => Enjoin::String()], 'year' => ['type' => Enjoin::Integer(), 'validate' => 'integer|max:2020']];
 }
Example #5
0
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'publishers_books_id' => ['type' => Enjoin::Integer()], 'person' => ['type' => Enjoin::String()], 'quantity' => ['type' => Enjoin::Integer()]];
 }