// CREATE TABLE `attachment` ( // `attid` varchar(32) NOT NULL COMMENT '附件ID(查询条件)', // `attname` varchar(32) NOT NULL COMMENT '文件名', // `attpath` varchar(200) NOT NULL COMMENT '路径', // `atttype` varchar(10) NOT NULL COMMENT '扩展名', // `attsize` varchar(20) NOT NULL COMMENT '文件大小', // `attmodel` varchar(20) NOT NULL COMMENT '关联模块(查询条件)', // `attlsh` varchar(32) DEFAULT NULL COMMENT '关联表单流水号(查询条件)', // `attcreate` datetime NOT NULL COMMENT '创建时间#不可编辑(禁止前端编辑)(查询条件)', // `attcreateuser` varchar(30) DEFAULT NULL COMMENT '上传者#不可编辑(禁止前端编辑)', // `attdelcode` tinyint(4) DEFAULT NULL COMMENT '删除标记(禁止前端编辑)(禁止插入)', // `attother1` varchar(50) DEFAULT NULL COMMENT '附加参数1', // `attother2` varchar(50) DEFAULT NULL COMMENT '附加参数2', // `attother3` varchar(50) DEFAULT NULL COMMENT '附加参数3', // `attorginname` varchar(255) DEFAULT NULL COMMENT '文件原始名称', // `attfileSHA1` varchar(100) DEFAULT NULL COMMENT '文件SHA1值', // `attfileSHA256` varchar(100) DEFAULT NULL COMMENT '文件SHA256值', // `attfileMD5` varchar(100) DEFAULT NULL COMMENT '文件MD5值', // PRIMARY KEY (`attid`) // ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='附件'; interface AttachmentEntity { /** 附件ID(查询条件) */ attid: string /** 文件名 */ attname: string /** 路径 */ attpath: string /** 扩展名 */ atttype: string /** 文件大小 */ attsize: string /** 关联模块(查询条件) */ attmodel: string /** 关联表单流水号(查询条件) */ attlsh: string /** 创建时间#不可编辑(禁止前端编辑)(查询条件) */ attcreate: string /** 上传者#不可编辑(禁止前端编辑) */ attcreateuser: string /** 删除标记(禁止前端编辑)(禁止插入) */ attdelcode: number /** 附加参数1 */ attother1: string /** 附加参数2 */ attother2: string /** 附加参数3 */ attother3: string /** 文件原始名称 */ attorginname: string /** 文件SHA1值 */ attfileSHA1: string /** 文件SHA256值 */ attfileSHA256: string /** 文件MD5值 */ attfileMD5: string } export type { AttachmentEntity }