1234567891011121314151617181920212223 |
- <?php
- namespace app\model;
- use support\Model;
- class MemberCert extends Model
- {
- protected $table = 'member_cert';
- protected $primaryKey = 'join_cert_member_id';
- public $keyType = 'string';
- const CREATED_AT = 'member_cert_addtimes';
- const UPDATED_AT = null;
- public function serializeDate(\DateTimeInterface $date)
- {
- return $date->format('Y-m-d H:i:s');
- }
- }
|