
    P1i                    R    d dl mZ d dlmZ d dlmZ  G d dej                        Zy)    )annotations)models)settingsc                     e Zd ZdZdZ ej                  ej                  ej                  d      Z
 ej                  dej                  d      Z ej                  dej                  d      Z ej                  de	      Z ej                  d
d
d      Z ej"                  d
      Z ej"                  d
      Z G d d      Zy)GroupRelationz13-party group relation row (owner + two persons).))sanheu   三合)sanxingu   三刑group_relations)	on_deleterelated_namezbazi.Personas_person1_in_groupsas_person2_in_groups   )
max_lengthchoicesTz!Compact refs for forming relation)nullblank	help_text)auto_now_add)auto_nowc                      e Zd ZdZy)GroupRelation.Meta))
owner_userrelation_typeperson1person2N)__name__
__module____qualname__unique_together     3/home/cursorai/projects/iching/bazi/models_group.pyMetar      s	    
r"   r$   N)r   r   r   __doc__REL_CHOICESr   
ForeignKeyr   AUTH_USER_MODELCASCADEr   r   r   	CharFieldr   	JSONFieldbyDateTimeField
created_at
updated_atr$   r!   r"   r#   r   r      s    ;K
 #""8#;#;v~~duvJfVlmGfVlmG$F$$KHM			t4;^	_B%%%48J%%%t4J
 
r"   r   N)
__future__r   	django.dbr   django.confr   Modelr   r!   r"   r#   <module>r4      s    "   
FLL 
r"   