package com.fs.doctor.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.his.param.BaseParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 医生在线状态对象 fs_doctor_online_info
 *
 * @author fs
 * @date 2025-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class FsDoctorOnline  extends BaseParam implements Serializable{

    /** 关联 fs_doctor.doctor_id */
    private Long doctorId;

    /** 最后心跳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastHeartbeat;

    /** 是否在线（0否 1是） */
    private Integer isOnline;


}