package userbranch import "time" type LocalizedText struct { En string `json:"en"` Ru string `json:"ru"` Tm string `json:"tm"` } type UserBranchDTO struct { Id int64 `json:"id"` UserId int64 `json:"userId"` UserName string `json:"userName"` BranchId int64 `json:"branchId"` BranchName LocalizedText `json:"branchName"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` } type ListUserBranchDTO struct { Count int64 `json:"count"` Items []UserBranchDTO `json:"items"` } type ListFilter struct { UserId *int64 BranchName string } type CreateUserBranchDTO struct { BranchId int64 `json:"branchId" binding:"required"` UserId int64 `json:"userId" binding:"required"` }