package com.fs.hisStore.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 随访管理对象 fs_follow
 *
 * @author fs
 * @date 2023-07-14
 */
@Data
@TableName("fs_follow")
public class FsFollowScrm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long followId;

    /** 模板id */
    @Excel(name = "模板id")
    private Long tempId;

    /** 病人id */
    @Excel(name = "病人id")
    private Long patientId;

    /** 病人名称 */
    @Excel(name = "病人名称")
    private String patientName;

    /** 病人电话 */
    @Excel(name = "病人电话")
    private String patientPhone;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 总次数 */
    @Excel(name = "总次数")
    private Integer totalNum;

    /** 期次 */
    @Excel(name = "期次")
    private Integer num;

    /** 0待推送 1已推送 2 已取消 */
    @Excel(name = "0待推送 1已推送 2 已取消")
    private Integer pushStatus;

    /** 0未填写 1已填写 */
    @Excel(name = "0未填写 1已填写")
    private Integer writeStatus;

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

    /** 随访内容 */
    @Excel(name = "随访内容")
    private String formJson;

    private Long inquiryOrderId;
    private Long packageOrderId;


    private Long companyId;
    private Long companyUserId;
    private Long deptId;
    private String writeUserName;


    private Long storeOrderId;
}
