first commit
This commit is contained in:
		
						commit
						b71ea45681
					
				
					 898 changed files with 138202 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								common/consts.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								common/consts.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
from enum import Enum
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class UserRoles(Enum):
 | 
			
		||||
    ADMIN = "adm" #ادمین
 | 
			
		||||
    CUSTOMER = "cus" #مشترک
 | 
			
		||||
    MANAGER = "mng" #مدیر
 | 
			
		||||
    ACCOUNTANT = "aco" #حسابدار
 | 
			
		||||
    BROKER = "bro" # کارگزار - پیشخان
 | 
			
		||||
    INSTALLER = "inst" # نصاب
 | 
			
		||||
    REGIONAL_WATER_AUTHORITY = "rwa" # کارشناس امور
 | 
			
		||||
    WATER_RESOURCE_MANAGER = "wrm" # مدیر منابع آب
 | 
			
		||||
    HEADQUARTER = "hdq" # ستاد آب منطقهای
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue