TimestampBehavior::class, 'value' => time() ] ]; } public function rules() { return [ [['from_store_id', 'status', 'result', 'sync_id'], 'integer'], [['to_store_ids', 'goods_info', 'pintuan', 'bargain', 'diy', 'seckill', 'shareConfig', 'shareHolderConfig', 'videoGoods', 'integralStore', 'workerConfig', 'article', 'topic'], 'string'], [['create_at', 'update_at'], 'safe'], ]; } public function attributeLabels() { return [ 'id' => 'ID', 'from_store_id' => '来源商城', 'to_store_ids' => '同步到商城,多个', 'status' => '状态, 0:等待执行,1:执行完成', 'create_at' => '创建时间', 'update_at' => '更新时间', 'result' => '0:排队中,1:执行成功, 2:执行失败', 'sync_id' => '任务id', 'goods_info' => '商品同步信息', 'pintuan' => '拼团信息', 'bargain' => '砍价信息', 'diy' => '装修信息', 'seckill' => '秒杀信息', 'shareConfig' => '分销信息', 'shareHolderConfig' => '股东信息', 'videoGoods' => '短视频信息', 'integralStore' => '积分商城信息', 'workerConfig' => '上门服务', 'article' => '文章', 'topic' => '专题', ]; } }