package com.fs.qw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 客户信息认领记录表实体类
 * 
 * @author ruoyi
 * @date 2026-05-28
 */
@Data
@ApiModel("客户认领记录")
public class FsCompanyCustomerLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("客户信息表主键id")
    private Long companyCustomerId;

    @ApiModelProperty("认领销售id")
    private Long companyUserId;

    @ApiModelProperty("认领销售名称")
    private String companyUserName;

    @ApiModelProperty("认领部门id")
    private Long deptId;

    @ApiModelProperty("认领部门")
    private String deptName;

    @ApiModelProperty("认领时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date claimTime;

    /** 认领时间范围*/
    private Date beginClaimTime;
    private Date endClaimTime;

    // 分页相关
    private Integer pageNum;
    private Integer pageSize;
}