mergeDev/campaign #73
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -12,14 +12,16 @@ type DetailRoleRequest struct {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
type CreateRoleRequest struct {
 | 
			
		||||
	Name string `json:"name"`
 | 
			
		||||
	Code string `json:"code"`
 | 
			
		||||
	Type string `json:"type"`
 | 
			
		||||
	Name        string   `json:"name"`
 | 
			
		||||
	Code        string   `json:"code"`
 | 
			
		||||
	Type        string   `json:"type"`
 | 
			
		||||
	Permissions []string `json:"permissions"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type UpdateRoleRequest struct {
 | 
			
		||||
	ID   string `json:"_id"`
 | 
			
		||||
	Name string `json:"name"`
 | 
			
		||||
	Code string `json:"code"`
 | 
			
		||||
	Type string `json:"type"`
 | 
			
		||||
	ID          string   `json:"_id"`
 | 
			
		||||
	Name        string   `json:"name"`
 | 
			
		||||
	Code        string   `json:"code"`
 | 
			
		||||
	Type        string   `json:"type"`
 | 
			
		||||
	Permissions []string `json:"permissions"`
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue