File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,16 @@ class Meta:
6969 deleted_at = fields .DateTime (dump_only = True )
7070 details = fields .Str (allow_none = True )
7171 contact = fields .Str (allow_none = True )
72+ contact_name = fields .Str (allow_none = True )
73+ phone = fields .Str (allow_none = True )
74+ country = fields .Str (allow_none = True )
75+ tax_info = fields .Str (allow_none = True )
76+ company = fields .Str (allow_none = True )
77+ company_address = fields .Str (allow_none = True )
78+ company_city = fields .Str (allow_none = True )
79+ zip_code = fields .Str (allow_none = True )
80+ additional_info = fields .Str (allow_none = True )
81+ company_comments = fields .Str (allow_none = True )
7282 notifications = Relationship (
7383 attribute = 'notifications' ,
7484 self_view = 'v1.user_notification' ,
Original file line number Diff line number Diff line change @@ -79,6 +79,19 @@ class User(SoftDeletionModel):
7979 was_registered_with_order = db .Column (db .Boolean , default = False )
8080 last_accessed_at = db .Column (db .DateTime (timezone = True ))
8181 created_at = db .Column (db .DateTime (timezone = True ), default = func .now ())
82+ # Event Invoice Details
83+ contact_name = db .Column (db .String )
84+ phone = db .Column (db .String )
85+ country = db .Column (db .String )
86+ tax_info = db .Column (db .String )
87+ company = db .Column (db .String )
88+ company_address = db .Column (db .String )
89+ company_city = db .Column (db .String )
90+ zip_code = db .Column (db .String )
91+ additional_info = db .Column (db .String )
92+ company_comments = db .Column (db .String )
93+
94+ # relationships
8295 speaker = db .relationship ('Speaker' , backref = "user" )
8396 favourite_events = db .relationship ('UserFavouriteEvent' , backref = "user" )
8497 session = db .relationship ('Session' , backref = "user" )
You can’t perform that action at this time.
0 commit comments