コード例 #1
0
ファイル: PublishersBooks.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'publishers_id' => ['type' => Enjoin::Integer()], 'books_id' => ['type' => Enjoin::Integer()], 'year' => ['type' => Enjoin::Integer()], 'pressrun' => ['type' => Enjoin::Integer()], 'mistakes' => ['type' => Enjoin::Text()]];
 }
コード例 #2
0
ファイル: Pile.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'date_till' => ['type' => Enjoin::Date()]];
 }
コード例 #3
0
ファイル: Languages.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'name' => ['type' => Enjoin::String()]];
 }
コード例 #4
0
ファイル: Reviews.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'books_id' => ['type' => Enjoin::Integer()], 'resource' => ['type' => Enjoin::String()], 'content' => ['type' => Enjoin::String()]];
 }
コード例 #5
0
ファイル: Books.php プロジェクト: mightydes/enjoin
 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']];
 }
コード例 #6
0
ファイル: Articles.php プロジェクト: mightydes/enjoin
 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()]];
 }
コード例 #7
0
ファイル: Shipped.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'publishers_books_id' => ['type' => Enjoin::Integer()], 'destination' => ['type' => Enjoin::Text()], 'quantity' => ['type' => Enjoin::Integer()], 'sent_at' => ['type' => Enjoin::Date()]];
 }
コード例 #8
0
ファイル: Preorders.php プロジェクト: mightydes/enjoin
 public function getAttributes()
 {
     return ['id' => ['type' => Enjoin::Integer()], 'publishers_books_id' => ['type' => Enjoin::Integer()], 'person' => ['type' => Enjoin::String()], 'quantity' => ['type' => Enjoin::Integer()]];
 }