AnnouncementTel.java 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package com.huiju.estateagents.property.model;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. import lombok.experimental.Accessors;
  9. import javax.validation.constraints.NotBlank;
  10. import java.io.Serializable;
  11. import java.time.LocalDateTime;
  12. /**
  13. * <p>
  14. * 物业号码表
  15. * </p>
  16. *
  17. * @author jobob
  18. * @since 2019-03-05
  19. */
  20. @Data
  21. @EqualsAndHashCode(callSuper = false)
  22. @Accessors(chain = true)
  23. @TableName("tp_announcement_tel")
  24. public class AnnouncementTel implements Serializable {
  25. private static final long serialVersionUID = 1L;
  26. @TableId(value = "id", type = IdType.AUTO)
  27. private Integer id;
  28. private Integer orgId;
  29. /**
  30. * 小区id
  31. */
  32. private Integer communityId;
  33. /**
  34. * 电话名称
  35. */
  36. @NotBlank(message = "请输入名称")
  37. private String name;
  38. @NotBlank(message = "请输入号码")
  39. private String tel;
  40. private String remark;
  41. /**
  42. * 物业类型
  43. */
  44. private String type;
  45. /**
  46. * 创建人
  47. */
  48. private Integer createUser;
  49. /**
  50. * 创建时间
  51. */
  52. private LocalDateTime createDate;
  53. /**
  54. * 更新人
  55. */
  56. private Integer updateUser;
  57. /**
  58. * 更新时间
  59. */
  60. private LocalDateTime updateDate;
  61. /**
  62. * 更新人
  63. */
  64. @TableField(exist = false)
  65. private String updateName;
  66. }