NoticeErr.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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:35:36
  11. * @LastEditors: Please set LastEditors
  12. * @Description: In User Settings Edit
  13. * @FilePath: \admin_php\models\Notice.php
  14. */
  15. namespace app\models;
  16. use Yii;
  17. /**
  18. * @description:
  19. * @property integer $store_id
  20. * @property string $err_msg
  21. * @property integer $type
  22. * @property integer $user_id
  23. * @property string $data
  24. * @property integer $addtime
  25. */
  26. class NoticeErr extends \yii\db\ActiveRecord
  27. {
  28. /**
  29. * {@inheritdoc}
  30. */
  31. public static function tableName()
  32. {
  33. return '{{%notice_err}}';
  34. }
  35. /**
  36. * {@inheritdoc}
  37. */
  38. public function rules()
  39. {
  40. return [
  41. [
  42. ['err_msg', 'data'],'string'
  43. ],
  44. [
  45. ['type', 'user_id'],'integer'
  46. ],
  47. ];
  48. }
  49. /**
  50. * {@inheritdoc}
  51. */
  52. public function attributeLabels()
  53. {
  54. return [
  55. 'id' => 'ID',
  56. 'store_id' => 'Store ID',
  57. 'user_id' => '用户ID',
  58. 'type' => '1 小程序订阅消息 2 公众号订阅消息 3短信',
  59. 'data' => '错误参数',
  60. 'addtime' => '添加时间'
  61. ];
  62. }
  63. }