package thyyxxk.webserver.entity.dictionary.pathwayTemplates.dto;

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 = "clinical_pathway_work")
public class ClinicalPathwayWork implements Serializable {

    private static final long serialVersionUID = 7694858466904734256L;

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

    /**
     * dayId
     */
    @TableField(value = "day_id")
    private String dayId;

    /**
     * 工作内容
     */
    @TableField(value = "work_content")
    private String workContent;

    /**
     * 0 - 主要诊疗工作 - 1长期医嘱 2-临时医嘱 3-主要护理
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 执行方式 1- 每天执行 2- 必要时执行
     */
    @TableField(value = "exec_type")
    private Integer execType;

    /**
     * sort
     */
    @TableField(value = "sort")
    private Integer sort;



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

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


}
