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.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 短信通用发送记录对象 company_sms_common_logs
 *
 * @author fs
 * @date 2025-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CompanySmsCommonLogs extends BaseEntity{

    /** ID */
    private Long logsId;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    /** 销售ID */
    @Excel(name = "销售ID")
    private Long companyUserId;
    /** 销售ID */
    @Excel(name = "销售昵称")
    private String companyUserName;

    /** 收信人ID */
    @Excel(name = "收信人ID")
    private Long recipientId;

    /** 收信人名称 */
    @Excel(name = "收信人名称")
    private String recipientName;

    /** 发送类型 4:会员app下载链接 */
    @Excel(name = "发送类型 4:会员app下载链接")
    private Integer sendType;

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

    /** 模板CODE */
    @Excel(name = "模板CODE")
    private String tempCode;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 短信内容 */
    @Excel(name = "短信内容")
    private String content;

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

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "状态")
    private String mid;

    /** $column.columnComment */
    @Excel(name = "状态")
    private String stat;

    /** $column.columnComment */
    @Excel(name = "状态")
    private String replyContent;

    /** 短信数量 */
    @Excel(name = "短信数量")
    private Integer number;

    /** 发送短信服务商 */
    @Excel(name = "发送短信服务商")
    private String type;

    private Integer isReply;

    /**
     * sop短信发送记录uuid
     * **/
    private Long uuid;
}
