UserStatisticsTotalCopy1.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. namespace common\models\user;
  3. use Yii;
  4. /**
  5. * This is the model class for table "qimall_user_statistics_total_copy1".
  6. *
  7. * @property int $id ID
  8. * @property int $mall_id 商城ID
  9. * @property int $user_id 用户ID
  10. * @property float $order_money
  11. * @property float $pay_money
  12. * @property float $finish_order_money
  13. * @property float $refund_order_money
  14. * @property int $status 状态【1启用 0禁用 -1删除】
  15. * @property int $created_at 创建时间
  16. * @property int $updated_at 更新数据时间
  17. * @property float $pay_selling_price 已支付的订单售价总额(商品价格)
  18. * @property float $finish_selling_price 已完成的订单售价总额(商品价格)
  19. * @property float $user_goods_price_total 已支付的业绩
  20. * @property float $refund_finish_order_money
  21. */
  22. class UserStatisticsTotalCopy1 extends \common\models\base\BaseActiveRecord
  23. {
  24. /**
  25. * {@inheritdoc}
  26. */
  27. public static function tableName()
  28. {
  29. return 'qimall_user_statistics_total_copy1';
  30. }
  31. /**
  32. * {@inheritdoc}
  33. */
  34. public function rules()
  35. {
  36. return [
  37. [['mall_id', 'user_id', 'status', 'created_at', 'updated_at'], 'integer'],
  38. [['order_money', 'pay_money', 'finish_order_money', 'refund_order_money', 'pay_selling_price', 'finish_selling_price', 'user_goods_price_total', 'refund_finish_order_money'], 'number'],
  39. ];
  40. }
  41. /**
  42. * {@inheritdoc}
  43. */
  44. public function attributeLabels()
  45. {
  46. return [
  47. 'id' => 'ID',
  48. 'mall_id' => 'Mall ID',
  49. 'user_id' => 'User ID',
  50. 'order_money' => 'Order Money',
  51. 'pay_money' => 'Pay Money',
  52. 'finish_order_money' => 'Finish Order Money',
  53. 'refund_order_money' => 'Refund Order Money',
  54. 'status' => 'Status',
  55. 'created_at' => 'Created At',
  56. 'updated_at' => 'Updated At',
  57. 'pay_selling_price' => 'Pay Selling Price',
  58. 'finish_selling_price' => 'Finish Selling Price',
  59. 'user_goods_price_total' => 'User Goods Price Total',
  60. 'refund_finish_order_money' => 'Refund Finish Order Money',
  61. ];
  62. }
  63. }