package com.openhis.appointmentmanage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.core.common.core.domain.HisBaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 诊室维护Entity实体
 *
 * @author system
 * @date 2025-12-09
 */
@Data
@TableName("clinic_room")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ClinicRoom extends HisBaseEntity {

    /** ID */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 卫生机构名称 */
    private String orgName;

    /** 诊室名称 */
    private String roomName;

    /** 科室名称 */
    private String department;

    /** 诊室楼号 */
    private String building;

    /** 诊室楼层 */
    private String floor;

    /** 诊室房间号 */
    private String roomNo;

    /** 停用状态 */
    private Boolean isDisabled;

    /** 备注 */
    private String remarks;

    /** 作废标志 */
    private Boolean voided;

}