MySQL Create Table SQL
Table Structure: okayapi_jsh_account:/tablelist/okayapi_jsh_account.html
-- MySQL Table okayapi_jsh_account
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_account` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`Id` bigint(20) NULL COMMENT '主键',
`Name` varchar(50) NULL COMMENT '名称',
`SerialNo` varchar(50) NULL COMMENT '编号',
`InitialAmount` decimal(24,6) NULL COMMENT '期初金额',
`CurrentAmount` decimal(24,6) NULL COMMENT '当前余额',
`Remark` varchar(100) NULL COMMENT '备注',
`IsDefault` bit(1) NULL COMMENT '是否默认',
`tenant_id` bigint(20) NULL COMMENT '租户id',
`delete_Flag` varchar(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
KEY `Id` (`Id`),
KEY `Name` (`Name`),
KEY `SerialNo` (`SerialNo`),
KEY `InitialAmount` (`InitialAmount`),
KEY `CurrentAmount` (`CurrentAmount`),
KEY `Remark` (`Remark`),
KEY `IsDefault` (`IsDefault`),
KEY `tenant_id` (`tenant_id`),
KEY `delete_Flag` (`delete_Flag`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ERP进销存-账户信息';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
Id | bigint(20) | 否 | 主键 | |||
Name | varchar(50) | 是 | 名称 | |||
SerialNo | varchar(50) | 是 | 编号 | |||
InitialAmount | decimal(24,6) | 是 | 期初金额 | |||
CurrentAmount | decimal(24,6) | 是 | 当前余额 | |||
Remark | varchar(100) | 是 | 备注 | |||
IsDefault | bit(1) | 是 | 是否默认 | |||
tenant_id | bigint(20) | 是 | 租户id | |||
delete_Flag | varchar(1) | 0 | 是 | 删除标记,0未删除,1删除 | 0 |