CommunitySignLog.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace addons\Community\common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "qimall_addons_community_sign_log".
  6. *
  7. * @property int $id 主键
  8. * @property int $status 状态[-1:删除;0:禁用;1启用]
  9. * @property int $created_at 创建时间
  10. * @property int $updated_at 修改时间
  11. * @property int $mall_id 所属子系统
  12. * @property int $user_id 核销用户
  13. * @property int $order_id 核销的订单
  14. * @property int $head_id 自提点ID
  15. * @property int $buyer_user_id 买家ID
  16. */
  17. class CommunitySignLog extends \common\models\base\BaseActiveRecord
  18. {
  19. /**
  20. * {@inheritdoc}
  21. */
  22. public static function tableName()
  23. {
  24. return 'qimall_addons_community_sign_log';
  25. }
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public function rules()
  30. {
  31. return [
  32. [['status', 'created_at', 'updated_at', 'mall_id', 'user_id', 'order_id', 'head_id', 'buyer_user_id'], 'integer'],
  33. ];
  34. }
  35. /**
  36. * {@inheritdoc}
  37. */
  38. public function attributeLabels()
  39. {
  40. return [
  41. 'id' => 'ID',
  42. 'status' => 'Status',
  43. 'created_at' => 'Created At',
  44. 'updated_at' => 'Updated At',
  45. 'mall_id' => 'Mall ID',
  46. 'user_id' => 'User ID',
  47. 'order_id' => 'Order ID',
  48. 'head_id' => 'Head ID',
  49. 'buyer_user_id' => 'Buyer User ID',
  50. ];
  51. }
  52. }