<?php

namespace app\admin\model\xilufitness\work;

use think\Model;


class CampPlan extends Model
{

    

    

    // 表名
    protected $name = 'xilufitness_work_camp_plan';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];


    protected function setDayDateAttr($value)
    {
        return $value === '' ? null : ($value && !is_numeric($value) ? strtotime($value) : $value);
    }



}