Make Every entry in wordpress as post type ( or custom post type)
<p>I am new to wordpress. So i just want your advice on the following thing</p>

<p>I am doing a project using a <strong>wordpress theme</strong> .In my project I am having a form using which I create employee's entry, For which I created my own table with name wp_employees with field names <em>srno , empID , empNAME , Phone , Address etc</em></p>

<p>Another Form creates entry for company's details .For which again I created my own table with name wp_company with relevant fields.</p>

<p>Everything is working fine. But one of My friend told me to create every entry of employee and company as <strong>custom post type</strong> , using which I can do the project sooner and properly.</p>

<p>Please tell me How to do all this using wordpress tables . How to add employee details as a post type. Same way for company details </p>

<p><strong>NOTE : Employee will have a secondary key to relate employee with the company details</strong></p>