o
    hn                     @   s.   d dl Zd dlmZmZ G dd dejZdS )    N)
migrationsmodelsc                   @   s  e Zd ZddgZejddejdddddfd	ejd
dfdejddfdej	g ddddfdej
dddfdejdddfdejdddfdejddfdejddfdejejjjjddd fd!ejddejjjjd"d#fd$ejejjjjd%d&fgd'd(gid)gZd*S )+	Migration)billing0001_initial)	customers80005_customer_account_balance_customerbalancetransactionServicePeriodidTFID)auto_createdprimary_key	serializeverbose_nameservice_startz"Exact start time of service period)	help_textservice_endz Exact end time of service periodstatus))activeActive)expiredExpired)	suspended	Suspended)	cancelled	Cancelledr      )choicesdefault
max_lengthis_auto_renewedz2Was this period auto-renewed from account balance?)r   r   renewal_attempted_at)blanknullsuspended_at
created_at)auto_now_add
updated_at)auto_nowcustomerservice_periodszcustomers.customer)	on_deleterelated_nametoinvoicezbilling.invoice)r"   r#   r+   r-   packagezcustomers.package)r+   r-   orderingz-service_start)namefieldsoptionsN)__name__
__module____qualname__dependenciesr   CreateModelr   BigAutoFieldDateTimeField	CharFieldBooleanField
ForeignKeydjangodbdeletionCASCADE
operations rC   rC   E/var/www/html/optinet_system/billing/migrations/0002_serviceperiod.pyr      s.    r   )django.db.models.deletionr>   	django.dbr   r   r   rC   rC   rC   rD   <module>   s   