录音管理功能联调
This commit is contained in:
@@ -7,6 +7,9 @@ import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -19,6 +22,7 @@ import lombok.EqualsAndHashCode;
|
||||
* @author 李中华 ,spllzh
|
||||
* @since 2025-08-07
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("audio_management")
|
||||
@@ -163,4 +167,12 @@ public class AudioManagement implements Serializable {
|
||||
@TableField("recording_text")
|
||||
private String recordingText;
|
||||
|
||||
/**
|
||||
* 前端上传的录音文件
|
||||
* 此字段不保存在数据库中,仅用于接收前端上传的文件
|
||||
*/
|
||||
@Schema(description = "前端上传的录音文件")
|
||||
@TableField(exist = false)
|
||||
private MultipartFile audioFile;
|
||||
|
||||
}
|
||||
|
||||
84
src/main/java/com/rj/entity/CommunicationRecord.java
Normal file
84
src/main/java/com/rj/entity/CommunicationRecord.java
Normal file
@@ -0,0 +1,84 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 沟通记录表
|
||||
* </p>
|
||||
*
|
||||
* @author 系统生成
|
||||
* @since 2025-01-30
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("communication_record")
|
||||
@Schema(description="沟通记录表")
|
||||
public class CommunicationRecord implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "主键ID(UUID)")
|
||||
@TableId("id")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "客户姓名")
|
||||
@TableField("customer_name")
|
||||
private String customerName;
|
||||
|
||||
@Schema(description = "客户电话")
|
||||
@TableField("customer_phone")
|
||||
private String customerPhone;
|
||||
|
||||
@Schema(description = "客户ID")
|
||||
@TableField("customer_id")
|
||||
private String customerId;
|
||||
|
||||
@Schema(description = "沟通类型")
|
||||
@TableField("communication_type")
|
||||
private String communicationType;
|
||||
|
||||
@Schema(description = "沟通时间")
|
||||
@TableField("communication_time")
|
||||
private LocalDateTime communicationTime;
|
||||
|
||||
@Schema(description = "沟通内容")
|
||||
@TableField("communication_content")
|
||||
private String communicationContent;
|
||||
|
||||
@Schema(description = "沟通结果")
|
||||
@TableField("communication_result")
|
||||
private String communicationResult;
|
||||
|
||||
@Schema(description = "所属人姓名")
|
||||
@TableField("owner_name")
|
||||
private String ownerName;
|
||||
|
||||
@Schema(description = "所属人电话")
|
||||
@TableField("owner_phone")
|
||||
private String ownerPhone;
|
||||
|
||||
@Schema(description = "待办建议")
|
||||
@TableField("todo_suggestion")
|
||||
private String todoSuggestion;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Schema(description = "状态:1-有效,0-删除")
|
||||
@TableField("status")
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user