
    hX                     F    d dl mZ d dlmZ  G d dej                        Zy)    )db)datetimec                   X   e Zd ZdZ ej
                  ej                  d      Z ej
                   ej                  d      d      Z	 ej
                  ej                  d      Z ej
                   ej                  ddd	d
            Z ej
                   ej                  dddd            Z ej
                  ej                        Z ej
                  ej                   d      Z ej
                  ej                   d      Z ej
                  ej&                  ej*                        Z ej
                  ej&                        Z ej
                  ej&                  ej*                        Z ej
                  ej&                  ej*                  ej*                        Zd Zy)AnnouncementannouncementsT)primary_key   F)nullablesystem	promotionmaintenancenewsallstudentsteachersspecific)default)r   onupdatec                 "    d| j                    dS )Nz<Announcement >)title)selfs    (/var/www/html/app/models/announcement.py__repr__zAnnouncement.__repr__   s    

|1--    N)__name__
__module____qualname____tablename__r   ColumnIntegeridStringr   TextcontentEnumannouncement_typetarget_audiencespecific_usersBooleanis_published	is_pinnedDateTimer   utcnow
publish_at	expire_at
created_at
updated_atr    r   r   r   r      sJ   #M	2::4	0B BIIibiinu5Ebii%0G!		'"''(KPV"WX  biiz:z RSORYYrww'N 299RZZ7L		"**e4I 2;;@J		"++&I 2;;@J2;;(//ZJ.r   r   N)app.extensionsr   r   Modelr   r3   r   r   <module>r6      s     .288 .r   