123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace app\model\activity\table;
- use crmeb\basic\BaseModel;
- use crmeb\traits\ModelTrait;
- class TableSeats extends BaseModel
- {
- use ModelTrait;
-
- protected $pk = 'id';
-
- protected $name = 'table_seats';
-
- protected function getAddTimeAttr($value)
- {
- if ($value) return date('Y-m-d H:i:s', (int)$value);
- return '';
- }
- }
|