| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- namespace addons\CloudStock\common\models;
- use common\models\base\BaseActiveRecord;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_cloud_stock_price_difference_order_detail".
- *
- * @property int $id
- * @property int $mall_id 商城id
- * @property int $user_id 补货代理商用户id
- * @property int $price_difference_order_id 补货代理商用户id
- * @property float $goods_price 支付金额
- * @property int $goods_id 商品id
- * @property int $self_pickup_num 自提数量
- * @property int $cloud_warehouse_num 云仓数量
- * @property int $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at
- * @property int $updated_at
- * @property int $is_send_recommend_reward
- */
- class CloudStockPriceDifferenceOrderDetail extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_cloud_stock_price_difference_order_detail}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'user_id', 'price_difference_order_id', 'goods_id'], 'required'],
- [['mall_id', 'user_id', 'price_difference_order_id', 'goods_id', 'self_pickup_num', 'cloud_warehouse_num', 'status', 'created_at',
- 'updated_at', 'is_send_recommend_reward'], 'integer'],
- [['goods_price'], 'number'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'user_id' => 'User ID',
- 'price_difference_order_id' => 'Price Difference Order ID',
- 'goods_price' => 'Goods Price',
- 'goods_id' => 'Goods ID',
- 'self_pickup_num' => 'Self Pickup Num',
- 'cloud_warehouse_num' => 'Cloud Warehouse Num',
- 'status' => 'Status',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'is_send_recommend_reward' => 'is_send_recommend_reward',
- ];
- }
- }
|