change table column name

This commit is contained in:
2026-07-07 15:16:40 +05:00
parent ef56625321
commit 41471694d5
11 changed files with 318 additions and 334 deletions

View File

@@ -38,35 +38,42 @@ definitions:
type: object
branches.CreateBranchDTO:
properties:
active:
type: boolean
address:
$ref: '#/definitions/branches.LocalizedText'
billingPassword:
type: string
billingPasswordSber:
billingSberPassword:
type: string
billingPasswordSwift:
billingSberUsername:
type: string
billingPasswordVisa:
billingSwiftPassword:
type: string
billingSwiftUsername:
type: string
billingUsername:
type: string
billingUsernameSber:
billingVisaMasterPassword:
type: string
billingUsernameSwift:
type: string
billingUsernameVisa:
billingVisaMasterUsername:
type: string
name:
$ref: '#/definitions/branches.LocalizedText'
phoneNumbers:
items:
type: string
type: array
provinceId:
type: integer
title:
$ref: '#/definitions/branches.LocalizedText'
unikalNomer:
region:
type: string
uniqueCode:
type: string
required:
- address
- provinceId
- title
- unikalNomer
- name
- region
type: object
branches.LocalizedText:
properties:
@@ -79,62 +86,54 @@ definitions:
type: object
branches.UpdateBranchDTO:
properties:
active:
type: boolean
address:
$ref: '#/definitions/branches.LocalizedText'
billingPassword:
type: string
billingPasswordSber:
billingSberPassword:
type: string
billingPasswordSwift:
billingSberUsername:
type: string
billingPasswordVisa:
billingSwiftPassword:
type: string
billingSwiftUsername:
type: string
billingUsername:
type: string
billingUsernameSber:
billingVisaMasterPassword:
type: string
billingUsernameSwift:
type: string
billingUsernameVisa:
billingVisaMasterUsername:
type: string
name:
$ref: '#/definitions/branches.LocalizedText'
phoneNumbers:
items:
type: string
type: array
provinceId:
type: integer
title:
$ref: '#/definitions/branches.LocalizedText'
unikalNomer:
region:
type: string
uniqueCode:
type: string
required:
- address
- provinceId
- title
- unikalNomer
- name
- region
type: object
loansdocument.CreateLoanDocumentDTO:
properties:
active:
type: boolean
contentEn:
name:
type: string
contentRu:
value:
type: string
contentTm:
type: string
title:
$ref: '#/definitions/loansdocument.LocalizedTitle'
required:
- contentEn
- contentRu
- contentTm
- title
type: object
loansdocument.LocalizedTitle:
properties:
en:
type: string
ru:
type: string
tm:
type: string
- name
- value
type: object
loansdocument.UpdateLoanDocumentActiveDTO:
properties:
@@ -145,22 +144,18 @@ definitions:
properties:
active:
type: boolean
contentEn:
name:
type: string
contentRu:
value:
type: string
contentTm:
type: string
title:
$ref: '#/definitions/loansdocument.LocalizedTitle'
required:
- contentEn
- contentRu
- contentTm
- title
- name
- value
type: object
loantype.CreateLoanTypeDTO:
properties:
active:
type: boolean
content:
$ref: '#/definitions/loantype.LocalizedTitle'
loanTerm:
@@ -186,6 +181,8 @@ definitions:
type: object
loantype.UpdateLoanTypeDTO:
properties:
active:
type: boolean
content:
$ref: '#/definitions/loantype.LocalizedTitle'
loanTerm:
@@ -204,14 +201,13 @@ definitions:
properties:
active:
type: boolean
content:
$ref: '#/definitions/paymentcard.LocalizedText'
notes:
type: string
price:
type: number
type: string
title:
$ref: '#/definitions/paymentcard.LocalizedText'
required:
- content
- price
- title
type: object
@@ -233,14 +229,13 @@ definitions:
properties:
active:
type: boolean
content:
$ref: '#/definitions/paymentcard.LocalizedText'
notes:
type: string
price:
type: number
type: string
title:
$ref: '#/definitions/paymentcard.LocalizedText'
required:
- content
- price
- title
type: object
@@ -279,14 +274,15 @@ definitions:
type: object
reasonscard.CreateReasonCardDTO:
properties:
content:
$ref: '#/definitions/reasonscard.LocalizedText'
active:
type: boolean
notes:
type: string
price:
type: number
type: string
title:
$ref: '#/definitions/reasonscard.LocalizedText'
required:
- content
- price
- title
type: object
@@ -301,14 +297,15 @@ definitions:
type: object
reasonscard.UpdateReasonCardDTO:
properties:
content:
$ref: '#/definitions/reasonscard.LocalizedText'
active:
type: boolean
notes:
type: string
price:
type: number
type: string
title:
$ref: '#/definitions/reasonscard.LocalizedText'
required:
- content
- price
- title
type: object
@@ -335,9 +332,9 @@ paths:
in: query
name: branch_name
type: string
- description: Filter by unique number
- description: Filter by unique code
in: query
name: unikal_nomer
name: unique_code
type: string
- default: 1
description: Page number
@@ -683,7 +680,7 @@ paths:
get:
description: Returns paginated loan documents with optional filters
parameters:
- description: Filter by title (en, ru, tm)
- description: Filter by name
in: query
name: document_name
type: string