aboutsummaryrefslogtreecommitdiff
path: root/user/user.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-09 11:31:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-09 11:31:08 +0530
commitc3821df233523ab715fdf06d54c142394411c968 (patch)
tree4f19352740fc5e38b5a8bd98244bafa30e037b1c /user/user.go
parentd0a44ff5cfad5d063929426e2420f6f0d55b1dbe (diff)
added logo/signature upload routesv0.10.0
Diffstat (limited to 'user/user.go')
-rw-r--r--user/user.go22
1 files changed, 12 insertions, 10 deletions
diff --git a/user/user.go b/user/user.go
index 726c5c2..b130ab9 100644
--- a/user/user.go
+++ b/user/user.go
@@ -40,17 +40,19 @@ func init() {
type User struct {
gorm.Model
u.Address
- FullName string
- FirmName string
- Gstin string
- Phone string
- Email string
- Website string
- Username string
- Password string
+ FullName string
+ FirmName string
+ Gstin string
+ Phone string
+ Email string
+ Website string
+ Username string
+ Password string
+ LogoFile string
+ SignatureFile string
// will be printed with address on the invoice
- Details string
- IsVerified bool
+ Details string
+ IsVerified bool
// a note is printed on every invoice.
// This is the default that gets automatically set
DefaultInvoiceNote string