| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?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_user_team_statistics".
- *
- * @property int $id ID
- * @property int $mall_id 商城ID
- * @property int $user_id 用户ID
- * @property int $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at 创建时间
- * @property int $updated_at 上次更新数据时间
- * @property float $user_direct_pay_selling_price 直推已支付的订单售价总额(商品价格)
- * @property float $user_indirect_pay_selling_price 间推已支付的订单售价总额(商品价格)
- * @property float $team_pay_selling_price 团队已支付的订单售价总额(商品价格)
- * @property float $self_selling_price 本人已支付的订单售价总额(商品价格)
- */
- class CloudStockPriceDifferenceUserTeamStatistics extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_cloud_stock_price_difference_user_team_statistics}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'user_id', 'status', 'created_at', 'updated_at'], 'integer'],
- [['user_direct_pay_selling_price', 'user_indirect_pay_selling_price', 'team_pay_selling_price', 'self_selling_price'], 'number'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'user_id' => 'User ID',
- 'status' => 'Status',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'user_direct_pay_selling_price' => 'User Direct Pay Selling Price',
- 'user_indirect_pay_selling_price' => 'User Indirect Pay Selling Price',
- 'team_pay_selling_price' => 'Team Pay Selling Price',
- 'self_selling_price' => 'Self Selling Price',
- ];
- }
- }
|