200 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			200 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\DataTransferObject;
 | |
| 
 | |
| class CompanyDetailsDto
 | |
| {
 | |
|     public function __construct(
 | |
|         private ?string $name = null,
 | |
|         private ?string $address = null,
 | |
|         private ?string $email = null,
 | |
|         private ?string $phone = null,
 | |
|         private ?string $url = null,
 | |
|         private ?string $zip = null,
 | |
|         private ?string $city = null,
 | |
|         private ?string $state = null,
 | |
|         private ?string $owner = null,
 | |
|     ) {
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of name
 | |
|      */
 | |
|     public function getName()
 | |
|     {
 | |
|         return $this->name;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of name
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setName($name)
 | |
|     {
 | |
|         $this->name = $name;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of address
 | |
|      */
 | |
|     public function getAddress()
 | |
|     {
 | |
|         return $this->address;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of address
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setAddress($address)
 | |
|     {
 | |
|         $this->address = $address;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of email
 | |
|      */
 | |
|     public function getEmail()
 | |
|     {
 | |
|         return $this->email;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of email
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setEmail($email)
 | |
|     {
 | |
|         $this->email = $email;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of phone
 | |
|      */
 | |
|     public function getPhone()
 | |
|     {
 | |
|         return $this->phone;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of phone
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setPhone($phone)
 | |
|     {
 | |
|         $this->phone = $phone;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of url
 | |
|      */
 | |
|     public function getUrl()
 | |
|     {
 | |
|         return $this->url;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of url
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setUrl($url)
 | |
|     {
 | |
|         $this->url = $url;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of zip
 | |
|      */
 | |
|     public function getZip()
 | |
|     {
 | |
|         return $this->zip;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of zip
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setZip($zip)
 | |
|     {
 | |
|         $this->zip = $zip;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of city
 | |
|      */
 | |
|     public function getCity()
 | |
|     {
 | |
|         return $this->city;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of city
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setCity($city)
 | |
|     {
 | |
|         $this->city = $city;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of state
 | |
|      */
 | |
|     public function getState()
 | |
|     {
 | |
|         return $this->state;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of state
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setState($state)
 | |
|     {
 | |
|         $this->state = $state;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the value of owner
 | |
|      */
 | |
|     public function getOwner()
 | |
|     {
 | |
|         return $this->owner;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Set the value of owner
 | |
|      *
 | |
|      * @return  self
 | |
|      */
 | |
|     public function setOwner($owner)
 | |
|     {
 | |
|         $this->owner = $owner;
 | |
| 
 | |
|         return $this;
 | |
|     }
 | |
| }
 |