GxlimitLog.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "{{%GXLIMIT_LOG}}".
  6. *
  7. * @property string $ID 主键
  8. * @property string $NOW_SHARE_TIMES 当前分享得第几次
  9. * @property string $SHARE_USER_ID 分享奖励者用户ID
  10. * @property string $WINNER_USER_ID 活得共享奖励者ID
  11. * @property string $SHARE_TYPE 得奖类型 1为向下找五次记录 2为上和下一起有报单团队奖金得用户
  12. * @property string $ADD_TIME 添加时间
  13. * @property string $AMOUNT 实得奖金
  14. * @property string $ORI_AMOUNT 原奖金
  15. */
  16. class GxlimitLog extends \common\components\ActiveRecord
  17. {
  18. /**
  19. * {@inheritdoc}
  20. */
  21. public static function tableName()
  22. {
  23. return '{{%GXLIMIT_LOG}}';
  24. }
  25. /**
  26. * {@inheritdoc}
  27. */
  28. public function rules()
  29. {
  30. return [
  31. ];
  32. }
  33. /**
  34. * {@inheritdoc}
  35. */
  36. public function attributeLabels()
  37. {
  38. return [
  39. 'ID' => '主键ID',
  40. 'NOW_SHARE_TIMES' => '当前分享得第几次',
  41. 'SHARE_USER_ID' => '分享奖励者用户ID',
  42. 'WINNER_USER_ID' => '活得共享奖励者ID',
  43. 'SHARE_TYPE' => '得奖类型 1为向下找五次记录 2为上和下一起有报单团队奖金得用户',
  44. 'ADD_TIME' => '添加时间',
  45. 'AMOUNT' => '实得奖金',
  46. 'ORI_AMOUNT' => '原奖金'
  47. ];
  48. }
  49. }