diff options
Diffstat (limited to 'user/user.go')
| -rw-r--r-- | user/user.go | 10 | 
1 files changed, 8 insertions, 2 deletions
diff --git a/user/user.go b/user/user.go index ee36e95..401ebe7 100644 --- a/user/user.go +++ b/user/user.go @@ -1,5 +1,5 @@  /* openbills - Server for web based Libre Billing Software - * Copyright (C) 2023  Vidhu Kant Sharma <vidhukant@vidhukant.com> + * Copyright (C) 2023-2024  Vidhu Kant Sharma <vidhukant@vidhukant.com>   *   * This program is free software: you can redistribute it and/or modify   * it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ package user  import (  	d "vidhukant.com/openbills/db"  	e "vidhukant.com/openbills/errors" +  u "vidhukant.com/openbills/util"  	"golang.org/x/crypto/bcrypt"  	"gorm.io/gorm"  	"github.com/spf13/viper" @@ -38,8 +39,13 @@ func init() {  type User struct {  	gorm.Model +  u.Address +  FullName   string +  Gstin      string +  Phone      string +  Email      string +  Website    string  	Username   string -	Email      string  	Password   string  	IsVerified bool  }  |