+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:易记账-现金流量数据表:https://open.yesapi.cn/tablelist/yesapi_yjz_prod_cash_flow_data.html


-- 数据库大全:易记账-现金流量数据表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_yjz_prod_cash_flow_data` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `cash_code` varchar(100) NULL COMMENT '代码',
    `subject_code` bigint(30) NULL COMMENT '科目代码',
    `relative_subject_code` bigint(30) NULL COMMENT '对方科目代码',
    `money` decimal(11,2) NULL COMMENT '金额',
    `book_id` bigint(20) NULL COMMENT '账套id',
    `period_id` bigint(20) NULL COMMENT '期间id',
    `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '',
    `modify_time` timestamp NULL DEFAULT '2015-01-01 00:00:00' COMMENT '',
    `voucher_id` bigint(20) NULL COMMENT '记账凭证id',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '易记账-现金流量数据表';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-9 条, 共 9 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
cash_codevarchar(100)代码无索引
subject_codebigint(30)科目代码无索引
relative_subject_codebigint(30)对方科目代码无索引
moneydecimal(11,2)金额无索引
book_idbigint(20)账套id无索引
period_idbigint(20)期间id无索引
create_timetimestampCURRENT_TIMESTAMP无索引CURRENT_TIMESTAMP
modify_timetimestamp2015-01-01 00:00:00无索引2015-01-01 00:00:00
voucher_idbigint(20)记账凭证id无索引

猜你喜欢

MySQL数据库设计 财务管理-组件资源

MySQL数据库设计 财务管理-数据控制

MySQL数据库设计 财务管理-字典

MySQL数据库设计 财务管理-日志信息

MySQL数据库设计 财务管理-模块

MySQL数据库设计 财务管理-组织

MySQL数据库设计 财务管理-组织角色

MySQL数据库设计 财务管理-权限

MySQL数据库设计 财务管理-角色

MySQL数据库设计 财务管理-角色权限

MySQL数据库设计 财务管理-角色权限数据控制

MySQL数据库设计 财务管理-用户

MySQL数据库设计 财务管理-用户角色

MySQL数据库设计 财务管理-产品表

MySQL数据库设计 财务管理-任务表

MySQL数据库设计 mm财务管理-进账

MySQL数据库设计 mm财务管理-出账

MySQL数据库设计 mm财务管理-菜单

MySQL数据库设计 mm财务管理-消息

MySQL数据库设计 mm财务管理-页面



回到顶部 ↑