CommunityHeadCheck.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. namespace addons\Community\common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "qimall_addons_community_head_check".
  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 $apply_id 申请ID
  13. * @property int $admin_id 管理员ID
  14. * @property string $remark 审核备注
  15. * @property int $check_status 审核后状态
  16. */
  17. class CommunityHeadCheck extends \common\models\base\BaseActiveRecord
  18. {
  19. /**
  20. * {@inheritdoc}
  21. */
  22. public static function tableName()
  23. {
  24. return 'qimall_addons_community_head_check';
  25. }
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public function rules()
  30. {
  31. return [
  32. [['status', 'created_at', 'updated_at', 'mall_id', 'apply_id', 'admin_id', 'check_status'], 'integer'],
  33. [['remark'], 'string', 'max' => 255]
  34. ];
  35. }
  36. /**
  37. * {@inheritdoc}
  38. */
  39. public function attributeLabels()
  40. {
  41. return [
  42. 'id' => 'ID',
  43. 'status' => 'Status',
  44. 'created_at' => 'Created At',
  45. 'updated_at' => 'Updated At',
  46. 'mall_id' => 'Mall ID',
  47. 'apply_id' => 'Apply ID',
  48. 'admin_id' => 'Admin ID',
  49. 'remark' => 'Remark',
  50. 'check_status' => 'Check Status',
  51. ];
  52. }
  53. }