package com.xinelu.manage.domain.operationInfo;

import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

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

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

    /**
     * 所属科室id
     */
    @ApiModelProperty(value = "所属科室id")
    @Excel(name = "所属科室id")
    private Long departmentId;

    /**
     * 所属科室名称
     */
    @ApiModelProperty(value = "所属科室名称")
    @Excel(name = "所属科室名称")
    private String departmentName;

    /**
     * 手术名称
     */
    @ApiModelProperty(value = "手术名称")
    @Excel(name = "手术名称")
    @NotBlank(message = "手术名称不能为空")
    private String operationName;

    /**
     * 手术编号
     */
    @ApiModelProperty(value = "手术编号")
    @Excel(name = "手术编号")
    private String operationCode;

    /**
     * 术式信息
     */
    @ApiModelProperty(value = "术式信息")
    @Excel(name = "术式信息")
    @NotBlank(message = "术式信息不能为空")
    private String operationInfo;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String operationRemark;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序")
    private Integer sort;

	/**
	 * 公共库模板id
	 */
	private Long sourceTemplateId;
}
