project-koku / kokudaka

Rating and chargeback service
GNU Affero General Public License v3.0
3 stars 1 forks source link

Price Plan Models #3

Open chargio opened 6 years ago

chargio commented 6 years ago

Define models for Price Plan models for storing Price Plans. Currently won't be backed up by a database.

Please update with implementation details

Implementation Details

Price Plan Key Type
uuid UUIDField; Primary key; read-only
price_plan_name TextField; required

_Rate

Key Type
uuid UUIDField; Primary key; read-only
price_plan_name TextField; required
price_plan_id Integer; required

Rate

Key Type
uuid UUIDField; Primary key; read-only
bucket CharField; max_length=63; required

Tier

Key Type
uuid UUIDField; Primary key; read-only
bucket CharField; max_length=63; required
chambridge commented 6 years ago

Models don't seem to be complete, but copy and pastes from other issues.

chargio commented 6 years ago

Yes. It is not complete, need to be updated and copied to the wiki as documentation