Support the ongoing development of Laravel.io →
Eloquent IOC Architecture
Last updated 2 years ago.
0

If the value of total is unit_price * quantity then you don't need to store total. That's part second or third normal form, can't remember. You're creating a public or private package?

Last updated 2 years ago.
0

AnthonyVipond said:

If the value of total is unit_price * quantity then you don't need to store total. That's part second or third normal form, can't remember. You're creating a public or private package?

Thanks for your suggestion, I agree that storing total is not necessary.

This is for public package, next I'm want to create something like : Order / Invoice Package, Product Package, Payment Package, Customer Package, etc.

Btw, did you think that this package is good (useful) enough for now, so I can continue creating the other packages ?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

feelinc feelinc Joined 20 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.