Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | serial | 10 | √ | nextval('"入金消込明細_ID_seq"'::regclass) |
|
|
|||||
| 入金ID | int4 | 10 | null |
|
|
||||||
| 行番号 | int4 | 10 | null |
|
|
||||||
| 請求ID | int4 | 10 | √ | null |
|
|
|||||
| 消込日 | date | 13 | null |
|
|
||||||
| 消込金額 | numeric | 15,2 | null |
|
|
||||||
| 備考 | text | 2147483647 | √ | null |
|
|
|||||
| バージョン | int4 | 10 | 1 |
|
|
楽観ロック用バージョン番号 |
|||||
| 作成日時 | timestamp | 29,6 | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| 入金消込明細_pkey | Primary key | Asc | ID |
| idx_入金消込明細_入金ID | Performance | Asc | 入金ID |
| idx_入金消込明細_請求ID | Performance | Asc | 請求ID |
| uk_入金消込明細_入金_行 | Must be unique | Asc/Asc | 入金ID + 行番号 |

