feat: 产品销售话术表
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
package com.klp.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
||||
/**
|
||||
* 产品销售话术对象 wms_product_sales_script
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-07-24
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("wms_product_sales_script")
|
||||
public class WmsProductSalesScript extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "script_id")
|
||||
private Long scriptId;
|
||||
/**
|
||||
* 关联产品ID
|
||||
*/
|
||||
private Long productId;
|
||||
/**
|
||||
* 话术标题/场景
|
||||
*/
|
||||
private String scriptTitle;
|
||||
/**
|
||||
* 话术内容
|
||||
*/
|
||||
private String scriptContent;
|
||||
/**
|
||||
* 产品特性/亮点
|
||||
*/
|
||||
private String featurePoint;
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
private Integer isEnabled;
|
||||
/**
|
||||
* 删除标志(0=正常,1=已删除)
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.klp.domain.bo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
|
||||
/**
|
||||
* 产品销售话术业务对象 wms_product_sales_script
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-07-24
|
||||
*/
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WmsProductSalesScriptBo extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
private Long scriptId;
|
||||
/**
|
||||
* 关联产品ID
|
||||
*/
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 话术标题/场景
|
||||
*/
|
||||
private String scriptTitle;
|
||||
|
||||
/**
|
||||
* 话术内容
|
||||
*/
|
||||
private String scriptContent;
|
||||
|
||||
/**
|
||||
* 产品特性/亮点
|
||||
*/
|
||||
private String featurePoint;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
private Integer isEnabled;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.klp.common.annotation.ExcelDictFormat;
|
||||
import com.klp.common.convert.ExcelDictConvert;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 产品销售话术视图对象 wms_product_sales_script
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-07-24
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsProductSalesScriptVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 关联产品ID
|
||||
*/
|
||||
@ExcelProperty(value = "关联产品ID")
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 话术标题/场景
|
||||
*/
|
||||
@ExcelProperty(value = "话术标题/场景")
|
||||
private String scriptTitle;
|
||||
|
||||
/**
|
||||
* 话术内容
|
||||
*/
|
||||
@ExcelProperty(value = "话术内容")
|
||||
private String scriptContent;
|
||||
|
||||
/**
|
||||
* 产品特性/亮点
|
||||
*/
|
||||
@ExcelProperty(value = "产品特性/亮点")
|
||||
private String featurePoint;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
@ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0==否,1=是")
|
||||
private Integer isEnabled;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
private String productCode;
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String productName;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user