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

    private static final long serialVersionUID = 4923266751501627866L;

    /**
     * 诊断的编码，主键
     */
    @TableId
    private String id;

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

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

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

    /**
     * updateCode
     */
    @TableField(fill = FieldFill.UPDATE, value = "update_code")
    private String updateCode;

    /**
     * updateTime
     */
    @TableField(fill = FieldFill.UPDATE, value = "update_time")
    private Date updateTime;

    @TableField(value = "py_code")
    private String pyCode;

    @TableField(value = "wb_code")
    private String wbCode;

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

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


}
