最新服务器上的版本,以后用这个
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * Created by PhpStorm.
 * User: 风哀伤
 * Date: 2020/3/21
 * Time: 15:58
 * @copyright: ©2019 浙江禾匠信息科技
 * @link: http://www.zjhejiang.com
 */
 
namespace app\events;
 
 
use app\models\Goods;
use app\models\GoodsWarehouse;
use yii\base\Event;
 
/**
 * Class StockEvent
 * @package app\events
 * @property GoodsWarehouse $goodsWarehouse
 * @property Goods $goods
 */
class StockEvent extends Event
{
    public $goodsWarehouse;
    public $goods;
    public $oldStock;
    public $newStock;
}