package com.fs.his.domain;

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

import java.util.Date;

/**
 * 理疗浏览记录对象 fs_project_red_detail
 *
 * @author fs
 * @date 2026-04-24
 */
@Data
public class FsProjectRedDetail{

    /** $column.columnComment */
    private Long id;

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

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

    /** 理疗id */
    @Excel(name = "理疗id")
    private Long projectId;

    /** 浏览时长 */
    @Excel(name = "浏览时长")
    private Long readDuration;

    /** 渠道来源 */
    @Excel(name = "渠道来源")
    private String source;

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

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

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

    /**
     * 状态 0：未点 1：已点
     */
    private Integer status;
}
