Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build base models custom methods: Common, Invoice, Recurring and Estimate #3

Open
JoeZ99 opened this issue Oct 7, 2011 · 1 comment
Assignees
Labels
Milestone

Comments

@JoeZ99
Copy link
Member

JoeZ99 commented Oct 7, 2011

Give to the following entities:

  • Invoice
  • Recurring
  • Common

The custom methods they have in previous siwapp.

Also make the tests.
@Gissues:{"order":98.80952380952381,"status":"backlog"}

@ghost ghost assigned JoeZ99 Oct 7, 2011
@JoeZ99
Copy link
Member Author

JoeZ99 commented Nov 7, 2011

So far, the model is like this

CoreBundle:
- AbstractInvoice
- AbstractItem
- Tax

AbstracInvoice and AbstractItem are both supermap class, they are not Entities. Tax s a regular entity.

Then , for the InvoiceBundle , there is an "Invoice" which inherits from 'AbstractInvoice", an "Item" which inherits from "AbstractItem" . "Invoice" is one_to_many to "Item", and "Item" is unidrectional many_to_many to "Tax" through the specific table "InvoiceItems_Taxes"

The same applies for "RecurringInvoiceBundle" and "EstimateBundle" , each one with specific relationship tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant