UserWarn.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. * 厦门云联储网络科技有限公司
  4. * https://www.baokuaiyun.com
  5. * Copyright (c) 2023 爆块云 All rights reserved.
  6. */
  7. /*
  8. * @Author: 凯
  9. * @Date: 2021-04-21 14:31:46
  10. * @LastEditTime: 2021-04-23 11:09:41
  11. * @LastEditors: Please set LastEditors
  12. * @Description: In User Settings Edit
  13. * @FilePath: \admin_php\models\SupplierNotice.php
  14. */
  15. namespace app\models;
  16. use Yii;
  17. /**
  18. * @description:
  19. * @property integer $user_id
  20. * @property integer $is_mini
  21. * @property integer $is_sms
  22. * agent_examine
  23. */
  24. class UserWarn extends \yii\db\ActiveRecord
  25. {
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public static function tableName()
  30. {
  31. return '{{%user_warn}}';
  32. }
  33. /**
  34. * {@inheritdoc}
  35. */
  36. public function rules()
  37. {
  38. return [
  39. [['user_id', 'is_sms', 'is_mini'], 'integer'],
  40. ];
  41. }
  42. /**
  43. * {@inheritdoc}
  44. */
  45. public function attributeLabels()
  46. {
  47. return [
  48. 'id' => 'ID',
  49. 'user_id' => '用户ID',
  50. 'is_mini' => '小程序订阅',
  51. 'is_sms' => '短信提醒',
  52. 'money' => '预警金额',
  53. 'created_at' => '创建时间',
  54. 'updated_at' => '更新时间',
  55. ];
  56. }
  57. }