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_template")
public class DiagnoseTemplate implements Serializable {

    private static final long serialVersionUID = 3262999528426424777L;

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

    /**
     * 诊断编码
     */
    @TableField(value = "diagnose_code")
    private String diagnoseCode;

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

    @TableField(exist = false)
    private String diagnoseName;

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

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


}
