title: mysql: For billing purpose, printing user ID on bill .
body: <p>I have this idea which I need some help with. Currently I am developing a mysql database with a java interface. It is a hotel management system, and for billing purpose. I have the following tables.</p>
  
  <p>Bill (BillID, ResvID, IssueDate, ToTalBill, ChargedTo)</p>
  
  <p>Employee (EmpID, Name, Age, Nationality, NatId, Mobile, Telephone, Email, Position, Language, Salary, JoinDate)</p>
  
  <p>User(UserID, Password)</p>
  
  <p>as per the requirements, the ID number of the employee (UserID or EmpID) should be printed on the bill.</p>
  
  <p>Any suggestions or ideas about implementing this ?</p>
  
  <p>Thanx</p>
  
  <p>Note : to log in the system the user has to log in (front desk receptionist). The employee table includes list of all the employees, and there is another table User (who are the users of the system, In other words, User has to be an employee and not all the employees are users )
  I am considering linking Bill table to User table </p>