SupplierNoticeLog.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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\SupplierNoticeLog.php
  14. */
  15. namespace app\models;
  16. use Yii;
  17. /**
  18. * @description:
  19. * @property integer $supp_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 SupplierNoticeLog extends \yii\db\ActiveRecord
  27. {
  28. /**
  29. * {@inheritdoc}
  30. */
  31. public static function tableName()
  32. {
  33. return '{{%supplier_notice_log}}';
  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. 'supp_id' => '供货商ID',
  57. 'user_id' => '用户ID',
  58. 'order_no' => '订单号',
  59. 'type' => '1 小程序订阅消息 2 公众号订阅消息 3短信',
  60. 'data' => '错误参数',
  61. 'err_msg'=> '接口返回',
  62. 'addtime' => '添加时间',
  63. 'goods_info' => '商品数据',
  64. 'order_price' => '订单总额',
  65. 'status' => '1 成功 2 失败',
  66. 'send_type' => '1 提交订单 2 待发货通知 3 逾期通知',
  67. ];
  68. }
  69. }