/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.common.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

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

/**
 * 执行记录dto
 *
 * @author zwh
 * @date 2025-08-14
 */
@Data
@Accessors(chain = true)
public class PerformRecordDto {

    /** 执行id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long procedureId;

    /** 执行状态 */
    private Integer statusEnum;
    private String statusEnum_enumText;

    /** 执行时间 */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date occurrenceTime;

    /** 执行位置 */
    private String locationName;

    /** 执行科室 */
    private String orgName;

    /** 项目id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long requestId;

    /** 执行开始时间 */
    private Date startTime;

    /** 执行结束时间 */
    private Date endTime;

    /** 执行人 */
    private String practitionerName;

    /** 取消执行id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long refundId;

    /** 操作时间 */
    private Date createTime;
}
