Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT UNSIGNED | 20 | √ | null |
|
|
||||
company_id | BIGINT UNSIGNED | 20 | null |
|
|
会社ID |
||||
target_kimaroom_stores | JSON | 1073741824 | √ | null |
|
|
対象店舗ID(kimaroom.office_id)の配列 or NULL(指定されていない全店舗) |
|||
account_code | VARCHAR | 4 | null |
|
|
口座コード |
||||
account_number_start | VARCHAR | 7 | null |
|
|
バーチャル口座番号帯:開始 |
||||
account_number_end | VARCHAR | 7 | null |
|
|
バーチャル口座番号帯:終了 |
||||
bank_name | VARCHAR | 255 | null |
|
|
銀行名 |
||||
branch_name | VARCHAR | 255 | null |
|
|
支店名 |
||||
account_name | VARCHAR | 255 | null |
|
|
口座名 |
||||
account_type | VARCHAR | 255 | null |
|
|
口座種別 |
||||
account_holder | VARCHAR | 255 | null |
|
|
口座名義人 |
||||
help | VARCHAR | 255 | null |
|
|
説明用のメモ欄 |
||||
created_at | TIMESTAMP | 26 | √ | null |
|
|
||||
updated_at | TIMESTAMP | 26 | √ | null |
|
|
||||
deleted_at | TIMESTAMP | 26 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
unique_bank_account | Must be unique | Asc/Asc/Asc/Asc | company_id + account_code + account_number_start + account_number_end |