package branches type LocalizedText struct { En string `json:"en"` Ru string `json:"ru"` Tm string `json:"tm"` } type BranchDTO struct { Id int64 `json:"id"` Title LocalizedText `json:"title"` ProvinceId int64 `json:"provinceId"` LocationId int64 `json:"locationId"` UnikalNomer string `json:"unikalNomer"` Address LocalizedText `json:"address"` BillingLogin string `json:"billingLogin"` BillingPassword string `json:"billingPassword"` BillingUsernameSber string `json:"billingUsernameSber"` BillingPasswordSber string `json:"billingPasswordSber"` BillingUsernameVisa string `json:"billingUsernameVisa"` BillingPasswordVisa string `json:"billingPasswordVisa"` } type CreateBranchDTO struct { Title LocalizedText `json:"title" binding:"required"` ProvinceId int64 `json:"provinceId" binding:"required"` LocationId int64 `json:"locationId" binding:"required"` UnikalNomer string `json:"unikalNomer" binding:"required"` Address LocalizedText `json:"address" binding:"required"` BillingLogin string `json:"billingLogin"` BillingPassword string `json:"billingPassword"` BillingUsernameSber string `json:"billingUsernameSber"` BillingPasswordSber string `json:"billingPasswordSber"` BillingUsernameVisa string `json:"billingUsernameVisa"` BillingPasswordVisa string `json:"billingPasswordVisa"` } type UpdateBranchDTO struct { Title LocalizedText `json:"title" binding:"required"` ProvinceId int64 `json:"provinceId" binding:"required"` LocationId int64 `json:"locationId" binding:"required"` UnikalNomer string `json:"unikalNomer" binding:"required"` Address LocalizedText `json:"address" binding:"required"` BillingLogin string `json:"billingLogin"` BillingPassword string `json:"billingPassword"` BillingUsernameSber string `json:"billingUsernameSber"` BillingPasswordSber string `json:"billingPasswordSber"` BillingUsernameVisa string `json:"billingUsernameVisa"` BillingPasswordVisa string `json:"billingPasswordVisa"` } type ListFilter struct { ProvinceID *int64 LocationID *int64 ProvinceName string BranchName string UnikalNomer string Page int Limit int } type ListBranchDTO struct { Count int64 `json:"count"` Branches []BranchDTO `json:"branches"` }