AccidentCasesDimensionObj.php 648 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace common\util;
  3. use common\models\AccidentCasesDimension;
  4. class AccidentCasesDimensionObj
  5. {
  6. // public int $accident_id;
  7. // public int $dictionary_id;
  8. public ?string $content;
  9. public int $type;
  10. /**
  11. * @param AccidentCasesDimension $AccidentCasesDimension
  12. */
  13. public function __construct(AccidentCasesDimension $AccidentCasesDimension)
  14. {
  15. // $this->accident_id = $AccidentCasesDimension->accident_id;
  16. // $this->dictionary_id = $AccidentCasesDimension->dictionary_id;
  17. $this->content = $AccidentCasesDimension->content;
  18. $this->type = $AccidentCasesDimension->type;
  19. }
  20. }