123456789101112131415161718192021222324 |
- <?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; // 归属人
- const type_three = 3; // 回款信息
- public static $type = [
- self::type_one,
- self::type_two,
- self::type_three,
- ];
- public static $man = [
- self::type_two,
- ];
- }
|