LymsPcase.java 2.75 KB
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
package com.lyms.talkonlineweb.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 病例
* @TableName lyms_pcase
*/
@TableName(value ="lyms_pcase")
@Data
public class LymsPcase implements Serializable {
/**
*
*/
@TableId(value = "pcid", type = IdType.AUTO)
private Integer pcid;

/**
* 患者id
*/
@TableField(value = "pid")
private Integer pid;

/**
* 手机号
*/
@TableField(value = "mobile")
private String mobile;

/**
* 填写医院id
*/
@TableField(value = "hid")
private Integer hid;

@TableField(value = "hname")
private String hname;//医院名称

/**
* 填写科室id
*/
@TableField(value = "did")
private Integer did;


@TableField(value = "dname")
private String dname;//科室名称

/**
* 就诊医生
*/
@TableField(value = "dtid")
private Integer dtid;

@TableField(value = "dtname")
private String dtname;//就诊医生姓名
/**
* 创建人
*/
@TableField(value = "createdby")
private Integer createdby;

/**
* 创建时间
*/
@TableField(value = "createdtime")
private Date createdtime;

/**
* 更新人
*/
@TableField(value = "updatedby")
private Integer updatedby;

/**
* 更新时间
*/
@TableField(value = "updated_time")
private Date updatedTime;
/**
* his系统就诊时间、就诊时间
*/
@TableField(value = "created")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date created;

@TableField(exist = false)
private static final long serialVersionUID = 1L;



@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", pcid=").append(pcid);
sb.append(", pid=").append(pid);
sb.append(", mobile=").append(mobile);
sb.append(", hid=").append(hid);
sb.append(", did=").append(did);
sb.append(", dtid=").append(dtid);
sb.append(", createdby=").append(createdby);
sb.append(", createdtime=").append(createdtime);
sb.append(", updatedby=").append(updatedby);
sb.append(", updatedTime=").append(updatedTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}