package thyyxxk.webserver.entity.dictionary.diagnoseReqTemplate.data;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "diagnose_req_template")
public class DiagnoseReqTemplate implements Serializable {

    private static final long serialVersionUID = 6658067715225113856L;

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * orderCode
     */
    @TableField(value = "order_code")
    private String orderCode;


    /**
     * 2-检验 -3检查
     */
    @TableField(value = "req_type")
    private Integer reqType;

    /**
     * 执行科室
     */
    @TableField(value = "exec_dept")
    private String execDept;

    /**
     * 部位或者标本
     */
    @TableField(value = "part_or_sample")
    private String partOrSample;

    /**
     * 对应的是 diagnose_to_req 的id
     */
    @TableField(value = "template_id")
    private String templateId;

    public static LambdaQueryWrapper<DiagnoseReqTemplate> lambdaQueryWrapper() {
        return new LambdaQueryWrapper<>();
    }

    public static QueryWrapper<DiagnoseReqTemplate> queryWrapper() {
        return new QueryWrapper<>();
    }


}
