code: func (cmd *CreateFolderCommand) GetDashboardModel(orgId int64, userId int64) *Dashboard {
  	dashFolder := NewDashboardFolder(strings.TrimSpace(cmd.Title))
  	dashFolder.OrgId = orgId
  	dashFolder.SetUid(strings.TrimSpace(cmd.Uid))
  
  	if userId == 0 {
  		userId = -1
  	}
  
  	dashFolder.CreatedBy = userId
  	dashFolder.UpdatedBy = userId
  	dashFolder.UpdateSlug()
  
  	return dashFolder
  }
docs: // GetDashboardModel turns the command into the saveable model