package com.xinelu.manage.domain.patientvisitoperation;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 患者就诊手术记录信息对象 patient_visit_operation
 *
 * @author xinelu
 * @date 2024-02-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "患者就诊手术记录信息对象", description = "patient_visit_operation")
public class PatientVisitOperation extends BaseEntity {
	private static final long serialVersionUID=1L;

    /** 主键id */
    private Long id;

    /** 患者就诊记录表id */
    @ApiModelProperty(value = "患者就诊记录表id")
    @Excel(name = "患者就诊记录表id")
    private Long patientVisitRecordId;

    /** 手术名称 */
    @ApiModelProperty(value = "手术名称")
    @Excel(name = "手术名称")
    private String operationName;

    /** 手术日期，格式：yyyy-MM-dd HH:mm:ss */
    @ApiModelProperty(value = "手术日期，格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "手术日期，格式：yyyy-MM-dd HH:mm:ss", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime operationDate;

    /** 手术麻醉方式，全身麻醉：GENERAL_ANESTHESIA，局部麻醉：LOCAL_ANESTHESIA */
    @ApiModelProperty(value = "手术麻醉方式，全身麻醉：GENERAL_ANESTHESIA，局部麻醉：LOCAL_ANESTHESIA")
    @Excel(name = "手术麻醉方式，全身麻醉：GENERAL_ANESTHESIA，局部麻醉：LOCAL_ANESTHESIA")
    private String operationAnesthesiaWay;

    /** 手术入路 */
    @ApiModelProperty(value = "手术入路")
    @Excel(name = "手术入路")
    private String operationApproach;

    /** 手术方式 */
    @ApiModelProperty(value = "手术方式")
    @Excel(name = "手术方式")
    private String operationWay;

}
