mergeDev/campaign #73
			
				
			
		
		
		
	| 
						 | 
				
			
			@ -17,3 +17,10 @@ type RoleBrief struct {
 | 
			
		|||
type CreateRoleResponse struct {
 | 
			
		||||
	ID string `json:"_id"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type RoleShort struct {
 | 
			
		||||
	ID   string `json:"_id"`
 | 
			
		||||
	Name string `json:"name"`
 | 
			
		||||
	Code string `json:"code"`
 | 
			
		||||
	Type string `json:"type"`
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,17 +6,17 @@ type GetListOwnerResponse struct {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
type SupplierUserBrief struct {
 | 
			
		||||
	ID        string        `json:"_id"`
 | 
			
		||||
	Role      RoleBrief     `json:"role"`
 | 
			
		||||
	Supplier  SupplierShort `json:"supplier"`
 | 
			
		||||
	Name      string        `json:"name"`
 | 
			
		||||
	Phone     string        `json:"phone"`
 | 
			
		||||
	Email     string        `json:"email"`
 | 
			
		||||
	Status    string        `json:"status"`
 | 
			
		||||
	Avatar    interface{}   `json:"avatar"`
 | 
			
		||||
	Type      string        `json:"type"`
 | 
			
		||||
	CreatedAt string        `json:"createdAt"`
 | 
			
		||||
	UpdatedAt string        `json:"updatedAt"`
 | 
			
		||||
	ID         string      `json:"_id"`
 | 
			
		||||
	Role       RoleShort   `json:"role"`
 | 
			
		||||
	SupplierID string      `json:"supplierId"`
 | 
			
		||||
	Name       string      `json:"name"`
 | 
			
		||||
	Phone      string      `json:"phone"`
 | 
			
		||||
	Email      string      `json:"email"`
 | 
			
		||||
	Status     string      `json:"status"`
 | 
			
		||||
	Avatar     interface{} `json:"avatar"`
 | 
			
		||||
	Type       string      `json:"type"`
 | 
			
		||||
	CreatedAt  string      `json:"createdAt"`
 | 
			
		||||
	UpdatedAt  string      `json:"updatedAt"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type CreateOwnerResponse struct {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue