TimestampBehavior::class, 'value' => null ] ]; } public function rules() { return [ [['id', 'store_id', 'goods_id'], 'integer'], [['create_at', 'update_at', 'is_delete', 'productUid', 'barcode', 'spu', 'json'], 'safe'], ]; } public function attributeLabels() { return [ 'id' => 'ID', 'store_id' => 'store_id', 'productUid' => 'productUid', 'barcode' => 'barcode', 'spu' => 'spu', 'goods_id' => 'goods_id', 'json' => 'json', 'is_delete' => '删除', 'create_at' => '创建时间', 'update_at' => '更新时间', ]; } }