SMS.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package com.yihu.wlyy.entity.message;
  2. import com.yihu.wlyy.entity.IdEntity;
  3. import java.util.Date;
  4. import javax.persistence.Entity;
  5. import javax.persistence.Table;
  6. /**
  7. * 手机短信
  8. *
  9. * @author George
  10. */
  11. @Entity
  12. @Table(name = "wlyy_sms")
  13. public class SMS extends IdEntity {
  14. private static final long serialVersionUID = -1438212901585781994L;
  15. private String mobile;// 手机号
  16. private String ip;// ip地址
  17. private Integer type;// 消息类型:1微信端注册,2微信端找回密码,3医生端找回密码,4患者登录,5医生登录
  18. private String captcha;// 验证码
  19. private String content;// 消息内容
  20. private Date deadline;// 过期时间
  21. private Integer status;// 状态,0未发送,1已发送
  22. private Date czrq;
  23. public String getMobile() {
  24. return mobile;
  25. }
  26. public void setMobile(String mobile) {
  27. this.mobile = mobile;
  28. }
  29. public String getIp() {
  30. return ip;
  31. }
  32. public void setIp(String ip) {
  33. this.ip = ip;
  34. }
  35. public Integer getType() {
  36. return type;
  37. }
  38. public void setType(Integer type) {
  39. this.type = type;
  40. }
  41. public String getCaptcha() {
  42. return captcha;
  43. }
  44. public void setCaptcha(String captcha) {
  45. this.captcha = captcha;
  46. }
  47. public String getContent() {
  48. return content;
  49. }
  50. public void setContent(String content) {
  51. this.content = content;
  52. }
  53. public Date getDeadline() {
  54. return deadline;
  55. }
  56. public void setDeadline(Date deadline) {
  57. this.deadline = deadline;
  58. }
  59. public Integer getStatus() {
  60. return status;
  61. }
  62. public void setStatus(Integer status) {
  63. this.status = status;
  64. }
  65. public Date getCzrq() {
  66. return czrq;
  67. }
  68. public void setCzrq(Date czrq) {
  69. this.czrq = czrq;
  70. }
  71. }