o
    Ah                     @   s   d dl mZ d dlmZ d dlmZmZ ddlmZm	Z	 ddl
mZ G dd deZG d	d
 d
eZG dd deZG dd deeZdS )    )date)Optional)	BaseModelField   )InvoiceStatusInvoiceType)
CommonBasec                   @   s   e Zd ZU edddZeed< edddZee ed< edddZ	e
ed	< edd
dZeed< edddZee ed< edddZeed< edddZeed< edddZeed< edddZeed< edddZeed< edddZeed< dS )SaaSInvoiceBase.zClient account ID)description
account_idNzPulled from the accountactive_subscription_idu   One‑Time, Recurring, etc.invoice_typezShort title for the invoiceinvoice_titlezLine items or notesinvoice_descriptionzInvoice amountamountzCurrency code (USD, INR, ...)currencyzPaid, Unpaid, Overdue, ...statuszDate issuedinvoice_datezDate duedue_datezCreator user IDuser_id)__name__
__module____qualname__r   r   str__annotations__r   r   r   r   r   r   r   floatr   r   r   r   r   r   r    r   r   7/var/www/html/moveengine/app/v1/models/saas/invoices.pyr
      s    
 r
   c                   @   s   e Zd ZdS )SaaSInvoiceCreateN)r   r   r   r   r   r   r   r      s    r   c                   @      e Zd ZU eed< dS )SaaSInvoiceUpdater   N)r   r   r   r   r   r   r   r   r   r!         
 r!   c                   @   r    )SaaSInvoiceDB
invoice_idN)r   r   r   r   r   r   r   r   r   r#      r"   r#   N)datetimer   typingr   pydanticr   r   commonr   r   	basemodelr	   r
   r   r!   r#   r   r   r   r   <module>   s   