Overview

Namespaces

  • Igestis
    • Modules
      • Commercial
  • None

Classes

  • CommercialAccounting
  • CommercialArticle
  • CommercialArticleCategory
  • CommercialAutoIncrement
  • CommercialBankAccount
  • CommercialBankAssocOperations
  • CommercialBankOperation
  • CommercialCommercialDocument
  • CommercialCompanyConfig
  • CommercialEstimate
  • CommercialEstimateArticle
  • CommercialFreeDocument
  • CommercialInvoice
  • CommercialInvoiceItem
  • CommercialParametersController
  • CommercialProject
  • CommercialProviderInvoice
  • CommercialProviderInvoiceAssocAmounts
  • CommercialPurchasingAccount
  • CommercialPurchasingAccountRepository
  • CommercialSellingAccount
  • CommercialSellingAccountRepository
  • CommercialSoldType
  • CommercialSupportCredit
  • CommercialSupportInitialSold
  • CommercialSupportIntervention
  • CommercialUserConfig
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
  1: <?php
  2: 
  3: 
  4: 
  5: 
  6: 
  7: /**
  8:  * CommercialProject
  9:  *
 10:  * @Table(name="COMMERCIAL_PROJECT")
 11:  * @Entity
 12:  */
 13: class CommercialProject
 14: {
 15:     /**
 16:      * @var string $name
 17:      *
 18:      * @Column(name="name", type="string", length=120)
 19:      */
 20:     private $name;
 21: 
 22:     /**
 23:      * @var text $description
 24:      *
 25:      * @Column(name="description", type="text")
 26:      */
 27:     private $description;
 28: 
 29:     /**
 30:      * @var integer $id
 31:      *
 32:      * @Column(name="id", type="integer")
 33:      * @Id
 34:      * @GeneratedValue(strategy="IDENTITY")
 35:      */
 36:     private $id;
 37: 
 38:     /**
 39:      * @var CoreContacts
 40:      *
 41:      * @ManyToOne(targetEntity="CoreContacts")
 42:      * @JoinColumns({
 43:      *   @JoinColumn(name="creator_contact_id", referencedColumnName="id")
 44:      * })
 45:      */
 46:     private $creatorContact;
 47: 
 48:     /**
 49:      * @var CoreCompanies
 50:      *
 51:      * @ManyToOne(targetEntity="CoreCompanies")
 52:      * @JoinColumns({
 53:      *   @JoinColumn(name="company_id", referencedColumnName="id")
 54:      * })
 55:      */
 56:     private $company;
 57: 
 58: 
 59:     /**
 60:      * Set name
 61:      *
 62:      * @param string $name
 63:      * @return CommercialProject
 64:      */
 65:     public function setName($name)
 66:     {
 67:         $this->name = $name;
 68:         return $this;
 69:     }
 70: 
 71:     /**
 72:      * Get name
 73:      *
 74:      * @return string 
 75:      */
 76:     public function getName()
 77:     {
 78:         return $this->name;
 79:     }
 80: 
 81:     /**
 82:      * Set description
 83:      *
 84:      * @param text $description
 85:      * @return CommercialProject
 86:      */
 87:     public function setDescription($description)
 88:     {
 89:         $this->description = $description;
 90:         return $this;
 91:     }
 92: 
 93:     /**
 94:      * Get description
 95:      *
 96:      * @return text 
 97:      */
 98:     public function getDescription()
 99:     {
100:         return $this->description;
101:     }
102: 
103:     /**
104:      * Get id
105:      *
106:      * @return integer 
107:      */
108:     public function getId()
109:     {
110:         return $this->id;
111:     }
112: 
113:     /**
114:      * Set creatorContact
115:      *
116:      * @param CoreContacts $creatorContact
117:      * @return CommercialProject
118:      */
119:     public function setCreatorContact(\CoreContacts $creatorContact = null)
120:     {
121:         $this->creatorContact = $creatorContact;
122:         return $this;
123:     }
124: 
125:     /**
126:      * Get creatorContact
127:      *
128:      * @return CoreContacts 
129:      */
130:     public function getCreatorContact()
131:     {
132:         return $this->creatorContact;
133:     }
134: 
135:     /**
136:      * Set company
137:      *
138:      * @param CoreCompanies $company
139:      * @return CommercialProject
140:      */
141:     public function setCompany(\CoreCompanies $company = null)
142:     {
143:         $this->company = $company;
144:         return $this;
145:     }
146: 
147:     /**
148:      * Get company
149:      *
150:      * @return CoreCompanies 
151:      */
152:     public function getCompany()
153:     {
154:         return $this->company;
155:     }
156: }
igestis-iprojectis-v2 API documentation generated by ApiGen 2.8.0