12345678910111213141516171819202122 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class PaymentReceiptInfo extends Model
- {
- protected $table = "payment_receipt_info"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const type_one = 1; // 文件/图片
- const type_two = 2; // 归属人
- public static $type = [
- self::type_one,
- self::type_two,
- ];
- public static $man = [
- self::type_two,
- ];
- }
|