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

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
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;
import org.springframework.format.annotation.DateTimeFormat;

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

	private static final long serialVersionUID =  222502540791543802L;

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

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

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

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

	/**
	 * promptTime
	 */
	@TableField(value = "prompt_time")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private Date promptTime;

	/**
	 *
	 * dockerCode
	 */
	@TableField(value = "doctor_code")
	private String doctorCode;

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

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


}
