package thyyxxk.webserver.entity.zhuyuanyisheng.patientClinicalPathway.dto;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.util.Date;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

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

    private static final long serialVersionUID = 7889132630557657853L;

    /**
     * id
     */
    @TableId(type = IdType.NONE)
    private String id;

    /**
     * 这个id是 clinical_pathway_patient_day_log 这个表的主键
     */
    @TableField(value = "day_id")
    private String dayId;

    /**
     * 0-没有完成1-完成2-半完成
     */
    @TableField(value = "complete")
    private Integer complete;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT, value = "create_code")
    private String createCode;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private Date createTime;

    /**
     * 工作内容的id  clinical_pathway_work 这个表中的id
     */
    @TableField(value = "content_id")
    private String contentId;

    /**
     * 描述
     */
    @TableField(value = "describe")
    private String describe;

    /**
     * patNo
     */
    @TableField(value = "pat_no")
    private String patNo;

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

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

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


}
