PaymentChannelModel.php 355 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\model;
  3. class PaymentChannelModel extends BaseModel
  4. {
  5. protected $table = 'erp_payment_channel';
  6. protected function genSchema(array $schema)
  7. {
  8. // TODO: Implement genSchema() method.
  9. }
  10. public function findAll() {
  11. return $this->where('is_delete', 0)->order("id", "desc")->select();
  12. }
  13. }