PaymentReceiptInfo.php 494 B

12345678910111213141516171819202122
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class PaymentReceiptInfo extends Model
  5. {
  6. protected $table = "payment_receipt_info"; //指定表
  7. const CREATED_AT = 'crt_time';
  8. const UPDATED_AT = 'upd_time';
  9. protected $dateFormat = 'U';
  10. const type_one = 1; // 文件/图片
  11. const type_two = 2; // 归属人
  12. public static $type = [
  13. self::type_one,
  14. self::type_two,
  15. ];
  16. public static $man = [
  17. self::type_two,
  18. ];
  19. }