
    >Tf                     z    d dl mZ d dlZd dlT d dlmZmZ ddlm	Z	 dZ
 G d d	e          Z G d
 de          ZdS )    )gettext_lazyN)*)NetBoxTablecolumns   )BackendTypeColumn)DataFileTableDataSourceTablec                   @   e Zd Z ej         ed          d          Z e ed                    Z e	j
         ed                    Z e	j         ed                    Z e	j        d	          Z ej        d
          Z G d dej                  ZdS )r
   NameTverbose_namelinkifyTyper   StatusEnabledzcore:datasource_list)url_nameFilesc                       e Zd ZeZdZdZdS )DataSourceTable.Meta)pkidnametypestatusenabled
source_urldescriptioncomments
parameterscreatedlast_updated
file_count)r   r   r   r   r   r   r$   N)__name__
__module____qualname__
DataSourcemodelfieldsdefault_columns     5/var/www/html/netbox-4.1.3/netbox/core/tables/data.pyMetar   #   s"        
 cr-   r/   N)r%   r&   r'   tablesColumn_r   r   r   r   ChoiceFieldColumnr   BooleanColumnr   	TagColumntagsr$   r   r/   r,   r-   r.   r
   r
      s       6=QvYY  D QvYY  D 'W&Qx[[  F $g#Qy\\  G 7'  D   Jc c c c c{ c c c c cr-   r
   c                       e Zd Z ej         ed          d          Z ej         ed          d          Z ej	         ed                    Z
 ej        d          Z G d	 d
ej                  ZdS )r	   SourceTr   PathzLast updatedr   )delete)actionsc                       e Zd ZeZdZdZdS )DataFileTable.Meta)r   r   sourcepathr#   sizehash)r   r>   r?   r@   r#   N)r%   r&   r'   DataFiler)   r*   r+   r,   r-   r.   r/   r=   <   s"        
 Kr-   r/   N)r%   r&   r'   r0   r1   r2   r>   r?   r   DateTimeColumnr#   ActionsColumnr;   r   r/   r,   r-   r.   r	   r	   ,   s        V]Qx[[  F 6=QvYY  D *7)Q~&&  L $g#  GK K K K K{ K K K K Kr-   r	   )django.utils.translationr   r2   django_tables2r0   core.modelsnetbox.tablesr   r   r   __all__r
   r	   r,   r-   r.   <module>rJ      s    6 6 6 6 6 6         . . . . . . . . & & & & & &c c c c ck c c c<K K K K KK K K K K Kr-   