package com.fs.company.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

/**
 * 机型检测记录对象 company_detection_phone_record
 *
 * @author fs
 * @date 2025-12-17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CompanyDetectionPhoneRecord extends BaseEntity{

    /** 检测记录id */
    private Long id;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String companyName;

    /** 销售id */
    @Excel(name = "销售id")
    private Long companyUserId;

    /** 销售名称 */
    @Excel(name = "销售名称")
    private String companyUserName;
    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private Long userId;
    /**
     * 客户昵称
     */
    @Excel(name = "客户昵称")
    private String nickName;

    /** 检测手机 */
    @Excel(name = "检测手机")
    private String phoneNumber;

    /** 检测系统 */
    @Excel(name = "检测系统")
    private Integer detectionSystem;

    /** 检测机型 */
    @Excel(name = "检测机型")
    private String detectionModel;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date detectionTime;

    /** 检测状态 0:失败;1:成功 */
    @Excel(name = "检测状态 0:失败;1:成功")
    private Long status;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;


}
