| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- use yii\db\ActiveRecord;
- /**
- * This is the model class for table "{{%agent_front_centralize_goods_cancel_log}}".
- *
- * @property integer $id
- * @property integer $front_admin_id
- * @property integer $supplier_id
- * @property integer $centralize_goods_id
- * @property integer $cloud_order_id
- * @property integer $md_id
- * @property integer $goods_num
- * @property integer $driver_line_order_id
- * @property integer $created_at
- * @property integer $updated_at
- */
- class AgentFrontCentralizeGoodsCancelLog extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%agent_front_centralize_goods_cancel_log}}';
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class,
- 'attributes' => [
- ActiveRecord::EVENT_BEFORE_INSERT => ['updated_at', 'created_at'],
- ActiveRecord::EVENT_BEFORE_UPDATE => 'updated_at'
- ]
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'front_admin_id', 'supplier_id', 'centralize_goods_id', 'cloud_order_id', 'md_id', 'goods_num',
- 'created_at', 'updated_at', 'driver_line_order_id'], 'integer']
- ];
- }
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'front_admin_id' => '仓库ID',
- 'supplier_id' => '',
- 'centralize_goods_id' => '集采商品表ID',
- 'cloud_order_id' => '云仓订单ID',
- 'md_id' => '门店ID',
- 'goods_num' => '商品数量',
- 'driver_line_order_id' => '司机配送订单ID',
- 'created_at' => '',
- 'updated_at' => ''
- ];
- }
- }
|