file.ts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // CREATE TABLE `attachment` (
  2. // `attid` varchar(32) NOT NULL COMMENT '附件ID(查询条件)',
  3. // `attname` varchar(32) NOT NULL COMMENT '文件名',
  4. // `attpath` varchar(200) NOT NULL COMMENT '路径',
  5. // `atttype` varchar(10) NOT NULL COMMENT '扩展名',
  6. // `attsize` varchar(20) NOT NULL COMMENT '文件大小',
  7. // `attmodel` varchar(20) NOT NULL COMMENT '关联模块(查询条件)',
  8. // `attlsh` varchar(32) DEFAULT NULL COMMENT '关联表单流水号(查询条件)',
  9. // `attcreate` datetime NOT NULL COMMENT '创建时间#不可编辑(禁止前端编辑)(查询条件)',
  10. // `attcreateuser` varchar(30) DEFAULT NULL COMMENT '上传者#不可编辑(禁止前端编辑)',
  11. // `attdelcode` tinyint(4) DEFAULT NULL COMMENT '删除标记(禁止前端编辑)(禁止插入)',
  12. // `attother1` varchar(50) DEFAULT NULL COMMENT '附加参数1',
  13. // `attother2` varchar(50) DEFAULT NULL COMMENT '附加参数2',
  14. // `attother3` varchar(50) DEFAULT NULL COMMENT '附加参数3',
  15. // `attorginname` varchar(255) DEFAULT NULL COMMENT '文件原始名称',
  16. // `attfileSHA1` varchar(100) DEFAULT NULL COMMENT '文件SHA1值',
  17. // `attfileSHA256` varchar(100) DEFAULT NULL COMMENT '文件SHA256值',
  18. // `attfileMD5` varchar(100) DEFAULT NULL COMMENT '文件MD5值',
  19. // PRIMARY KEY (`attid`)
  20. // ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='附件';
  21. interface AttachmentEntity {
  22. /** 附件ID(查询条件) */
  23. attid: string
  24. /** 文件名 */
  25. attname: string
  26. /** 路径 */
  27. attpath: string
  28. /** 扩展名 */
  29. atttype: string
  30. /** 文件大小 */
  31. attsize: string
  32. /** 关联模块(查询条件) */
  33. attmodel: string
  34. /** 关联表单流水号(查询条件) */
  35. attlsh: string
  36. /** 创建时间#不可编辑(禁止前端编辑)(查询条件) */
  37. attcreate: string
  38. /** 上传者#不可编辑(禁止前端编辑) */
  39. attcreateuser: string
  40. /** 删除标记(禁止前端编辑)(禁止插入) */
  41. attdelcode: number
  42. /** 附加参数1 */
  43. attother1: string
  44. /** 附加参数2 */
  45. attother2: string
  46. /** 附加参数3 */
  47. attother3: string
  48. /** 文件原始名称 */
  49. attorginname: string
  50. /** 文件SHA1值 */
  51. attfileSHA1: string
  52. /** 文件SHA256值 */
  53. attfileSHA256: string
  54. /** 文件MD5值 */
  55. attfileMD5: string
  56. }
  57. export type { AttachmentEntity }