|
|
@@ -1,12 +1,16 @@
|
|
|
package com.storlead.crm.marketing.entity;
|
|
|
|
|
|
+import com.alibaba.fastjson.annotation.JSONField;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.storlead.framework.mybatis.entity.SysBaseField;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
@@ -21,19 +25,25 @@ public class MarketingCampaignEntity extends SysBaseField {
|
|
|
@TableField("name")
|
|
|
private String name;
|
|
|
|
|
|
- @ApiModelProperty(value = "活动类型")
|
|
|
+ @ApiModelProperty(value = "活动类型(1潜客开发、2客户培养、3客户唤醒、4产品推广、5节日营销、6展会跟进)")
|
|
|
@TableField("type")
|
|
|
private Integer type;
|
|
|
|
|
|
- @ApiModelProperty(value = "优先级")
|
|
|
+ @ApiModelProperty(value = "优先级(1紧急、2高优先、3中等、4低优先)")
|
|
|
@TableField("priority")
|
|
|
private Integer priority;
|
|
|
|
|
|
@ApiModelProperty(value = "开始日期")
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd")
|
|
|
+ @JSONField(format ="yyyy-MM-dd")
|
|
|
@TableField("begin_data")
|
|
|
private LocalDate beginData;
|
|
|
|
|
|
@ApiModelProperty(value = "结束日期")
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd")
|
|
|
+ @JSONField(format ="yyyy-MM-dd")
|
|
|
@TableField("end_date")
|
|
|
private LocalDate endDate;
|
|
|
|
|
|
@@ -89,15 +99,15 @@ public class MarketingCampaignEntity extends SysBaseField {
|
|
|
@TableField("email_subject")
|
|
|
private String emailSubject;
|
|
|
|
|
|
- @ApiModelProperty(value = "是否追踪邮件打开")
|
|
|
+ @ApiModelProperty(value = "是否追踪邮件打开(1是0否)")
|
|
|
@TableField("track_config_open")
|
|
|
private Integer trackConfigOpen;
|
|
|
|
|
|
- @ApiModelProperty(value = "是否追踪链接点击")
|
|
|
+ @ApiModelProperty(value = "是否追踪链接点击(1是0否)")
|
|
|
@TableField("track_config_click")
|
|
|
private Integer trackConfigClick;
|
|
|
|
|
|
- @ApiModelProperty(value = "是否追踪回复")
|
|
|
+ @ApiModelProperty(value = "是否追踪回复(1是0否)")
|
|
|
@TableField("track_config_reply")
|
|
|
private Integer trackConfigReply;
|
|
|
|
|
|
@@ -105,41 +115,41 @@ public class MarketingCampaignEntity extends SysBaseField {
|
|
|
@TableField("sop_id")
|
|
|
private Integer sopId;
|
|
|
|
|
|
- @ApiModelProperty(value = "未打开邮件跟进规则")
|
|
|
- @TableField("follow-up_rules_not_opened")
|
|
|
- private String followUpRulesNotOpened;
|
|
|
+ @ApiModelProperty(value = "未打开邮件跟进规则(1是0否)")
|
|
|
+ @TableField("follow_up_rules_not_opened")
|
|
|
+ private Integer followUpRulesNotOpened;
|
|
|
|
|
|
@ApiModelProperty(value = "未打开邮件跟进天数")
|
|
|
- @TableField("follow-up_rules_not_opened_days")
|
|
|
+ @TableField("follow_up_rules_not_opened_days")
|
|
|
private String followUpRulesNotOpenedDays;
|
|
|
|
|
|
- @ApiModelProperty(value = "未回复邮件跟进规则")
|
|
|
- @TableField("follow-up_rules_not_replied")
|
|
|
- private String followUpRulesNotReplied;
|
|
|
+ @ApiModelProperty(value = "未回复邮件跟进规则(1是0否)")
|
|
|
+ @TableField("follow_up_rules_not_replied")
|
|
|
+ private Integer followUpRulesNotReplied;
|
|
|
|
|
|
@ApiModelProperty(value = "未回复邮件跟进天数")
|
|
|
- @TableField("follow-up_rules_not_replied_days")
|
|
|
+ @TableField("follow_up_rules_not_replied_days")
|
|
|
private String followUpRulesNotRepliedDays;
|
|
|
|
|
|
- @ApiModelProperty(value = "未点击链接跟进规则")
|
|
|
- @TableField("follow-up_rules_link_not_clicked")
|
|
|
- private String followUpRulesLinkNotClicked;
|
|
|
+ @ApiModelProperty(value = "未点击链接跟进规则(1是0否)")
|
|
|
+ @TableField("follow_up_rules_link_not_clicked")
|
|
|
+ private Integer followUpRulesLinkNotClicked;
|
|
|
|
|
|
@ApiModelProperty(value = "未点击链接跟进天数")
|
|
|
- @TableField("follow-up_rules_link_not_clicked_days")
|
|
|
+ @TableField("follow_up_rules_link_not_clicked_days")
|
|
|
private String followUpRulesLinkNotClickedDays;
|
|
|
|
|
|
- @ApiModelProperty(value = "客户回复后自动停止")
|
|
|
- @TableField("follow-up_rules_replied")
|
|
|
- private String followUpRulesReplied;
|
|
|
+ @ApiModelProperty(value = "客户回复后自动停止(1是0否)")
|
|
|
+ @TableField("follow_up_rules_replied")
|
|
|
+ private Integer followUpRulesReplied;
|
|
|
|
|
|
- @ApiModelProperty(value = "客户预约后停止")
|
|
|
- @TableField("follow-up_rules_appointment_booked")
|
|
|
- private String followUpRulesAppointmentBooked;
|
|
|
+ @ApiModelProperty(value = "客户预约后停止(1是0否)")
|
|
|
+ @TableField("follow_up_rules_appointment_booked")
|
|
|
+ private Integer followUpRulesAppointmentBooked;
|
|
|
|
|
|
- @ApiModelProperty(value = "A/B测试")
|
|
|
+ @ApiModelProperty(value = "A/B测试(1是0否)")
|
|
|
@TableField("a_b_testing")
|
|
|
- private String abTesting;
|
|
|
+ private Integer aBTesting;
|
|
|
|
|
|
@ApiModelProperty(value = "智能调度类型")
|
|
|
@TableField("smart_scheduling_type")
|
|
|
@@ -154,16 +164,16 @@ public class MarketingCampaignEntity extends SysBaseField {
|
|
|
private String smartSchedulingStartTime;
|
|
|
|
|
|
@ApiModelProperty(value = "是否已确认内容合规")
|
|
|
- @TableField("is_content_compliant")
|
|
|
- private Integer isContentCompliant;
|
|
|
+ @TableField("has_content_compliant")
|
|
|
+ private Integer hasContentCompliant;
|
|
|
|
|
|
@ApiModelProperty(value = "是否已确认发送时间合理")
|
|
|
- @TableField("is_schedule_approved")
|
|
|
- private Integer isScheduleApproved;
|
|
|
+ @TableField("has_schedule_approved")
|
|
|
+ private Integer hasScheduleApproved;
|
|
|
|
|
|
@ApiModelProperty(value = "是否符合GDPR")
|
|
|
- @TableField("is_gdpr_compliant")
|
|
|
- private Integer isGdprCompliant;
|
|
|
+ @TableField("has_gdpr_compliant")
|
|
|
+ private Integer hasGdprCompliant;
|
|
|
|
|
|
@ApiModelProperty(value = "是否包含退订链接")
|
|
|
@TableField("has_unsubscribe_link")
|