PaymentReceiptInfo.php 562 B

123456789101112131415161718192021222324
  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. const type_three = 3; // 回款信息
  13. public static $type = [
  14. self::type_one,
  15. self::type_two,
  16. self::type_three,
  17. ];
  18. public static $man = [
  19. self::type_two,
  20. ];
  21. }