SmartDataTaskLog.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. package com.template.model.pojo;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import io.swagger.annotations.ApiModel;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import io.swagger.models.auth.In;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. import java.io.Serializable;
  12. import java.util.Date;
  13. /**
  14. * <p>
  15. * 数据源操作日志
  16. * </p>
  17. *
  18. * @author ceshi
  19. * @since 2023-12-05
  20. */
  21. @Data
  22. @EqualsAndHashCode(callSuper = false)
  23. @Accessors(chain = true)
  24. @ApiModel(value="SmartDataTaskLog对象", description="数据源任务日志")
  25. public class SmartDataTaskLog implements Serializable {
  26. private static final long serialVersionUID = 1L;
  27. @ApiModelProperty(value = "任务日志id")
  28. @TableId(value = "tk_log_id", type = IdType.AUTO)
  29. private Integer tkLogId;
  30. @ApiModelProperty(value = "任务id")
  31. private Integer tkLogTaskId;
  32. @ApiModelProperty(value = "任务名称")
  33. private String tkLogTaskName;
  34. @ApiModelProperty(value = "部门名称")
  35. private String tkLogDtName;
  36. @ApiModelProperty(value = "来源库id")
  37. private Integer tkLogDsSourceId;
  38. @ApiModelProperty(value = "来源库")
  39. private String tkLogDsSourceName;
  40. @ApiModelProperty(value = "目标库id")
  41. private Integer tkLogDsDestinationId;
  42. @ApiModelProperty(value = "目标库")
  43. private String tkLogDsDestinationName;
  44. @ApiModelProperty(value = "目标表")
  45. private String tkLogDestTable;
  46. @ApiModelProperty(value = "交换服务器")
  47. private String tkLogExchangeServer;
  48. @ApiModelProperty(value = "交换方式")
  49. private String tkLogExchangeType;
  50. @ApiModelProperty(value = "执行标识")
  51. private String tkLogAutoManual;
  52. @ApiModelProperty(value = "执行方式")
  53. private String tkLogExeType;
  54. @ApiModelProperty(value = "执行状态")
  55. private String tkLogExeStatus;
  56. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  57. @ApiModelProperty(value = "执行开始时间")
  58. private String tkLogStartTime;
  59. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  60. @ApiModelProperty(value = "执行结束时间")
  61. private String tkLogEndTime;
  62. @ApiModelProperty(value = "耗时")
  63. private String tkLogCostTime;
  64. @ApiModelProperty(value = "读取数据量")
  65. private Integer tkLogReadRows;
  66. @ApiModelProperty(value = "增加数据量")
  67. private Integer tkLogInsertRows;
  68. @ApiModelProperty(value = "更新数据量")
  69. private Integer tkLogUpdateRows;
  70. @ApiModelProperty(value = "错误数据量")
  71. private Integer tkLogErrRows;
  72. @ApiModelProperty(value = "异常")
  73. private String tkLogErrException;
  74. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  75. @ApiModelProperty(value = "创建时间")
  76. private String tkLogCreateTime;
  77. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  78. @ApiModelProperty(value = "更新时间")
  79. private String tkLogUpdateTime;
  80. }