package com.ruoyi.ibs.task.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 吴凯程
 * @Date 2025/3/3
 **/
@Data
@TableName("task_visit_log")
public class VisitLog implements Serializable {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 客户号
     */
    @ApiModelProperty(value = "客户号", notes = "")
    private String custId;
    /**
     * 柜员名称
     */
    @ApiModelProperty(value = "柜员名称", notes = "")
    private String nickName;
    /**
     * 客户意向
     */
    @ApiModelProperty(value = "客户意向", notes = "")
    private String custFeedback;
    /**
     * 营销结果
     */
    @ApiModelProperty(value = "营销结果", notes = "")
    private String visitResult;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", notes = "")
    private String remark;
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
