package com.fs.sop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;
import com.fs.common.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;

/**
 * 订单SOP任务日志对象 sop_order_log
 *
 * @author fs
 * @date 2025-12-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SopOrderLog extends BaseEntity{

    /** $column.columnComment */
    private Long id;

    /** sop任务id */
    @Excel(name = "sop任务id")
    private String sopId;

    /** 会员id */
    @Excel(name = "外部联系人id")
    private Long exId;

    /** 发送类型 1未购 2已购 3未购升单 4已购升单 */
    @Excel(name = "发送类型 1未购 2已购 3未购升单 4已购升单")
    private Integer isBuy;

    /** 发送对象 1销售 2医师 3销售和医生 */
    @Excel(name = "发送对象 1销售 2医师 3销售和医生")
    private Integer orderSendType;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /* 0:未推送 1：已推送 **/
    private Integer status;

    /* 处理人类型 1:医生 2：销售 **/
    private Integer handlePersonType;

    //销售id
    private Long companyUserId;

    //医生id
    private Long doctorId;

    //会员id
    private Long fsUserId;

    //医生会员搭销id
    private Long doctorMemberSalesId;

    //备注(签收/提醒 处理结果)
    private String remark;

    /** 订单号 */
    private String orderCode;

}
