package com.ruoyi.sales.pojo; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; /** * 销售报价导入记录 */ @Data @TableName("sales_quotation_import_log") @Schema(description = "销售报价导入记录") public class SalesQuotationImportLog { @TableId(value = "id", type = IdType.AUTO) @Schema(description = "主键ID") private Long id; @Schema(description = "导入批次号") private String batchNo; @Schema(description = "导入文件名") private String fileName; @Schema(description = "总记录数") private Integer totalCount; @Schema(description = "成功记录数") private Integer successCount; @Schema(description = "更新记录数") private Integer updateCount; @Schema(description = "新增记录数") private Integer newCount; @Schema(description = "失败记录数") private Integer failCount; @Schema(description = "状态:pending-待审核, approved-已通过, rejected-已拒绝") private String status; @Schema(description = "备注") private String remark; @Schema(description = "操作人ID") private Long createUser; @Schema(description = "操作人姓名") private String createUserName; @Schema(description = "导入时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "审核人ID") private Long auditUser; @Schema(description = "审核人姓名") private String auditUserName; @Schema(description = "审核时间") private LocalDateTime auditTime; @Schema(description = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; @Schema(description = "部门ID") @TableField(fill = FieldFill.INSERT) private Long deptId; }