CardManagementInfo.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. package com.iotechn.unimall.data.domain;
  2. import com.iotechn.unimall.data.domain.SuperDO;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.iotechn.unimall.core.framework.aspectj.lang.annotaion.Excel;
  6. import com.iotechn.unimall.core.framework.aspectj.lang.annotaion.Excel.ColumnType;
  7. import com.baomidou.mybatisplus.annotations.TableId;
  8. import com.baomidou.mybatisplus.annotations.TableName;
  9. import lombok.Data;
  10. import com.baomidou.mybatisplus.annotations.TableField;
  11. import com.baomidou.mybatisplus.enums.FieldFill;
  12. import com.iotechn.unimall.core.util.StringUtils;
  13. import java.util.Date;
  14. /**
  15. * 名片管理对象 card_management_info
  16. *
  17. * @author jlb
  18. * @date 2023-04-10
  19. */
  20. @Data
  21. @TableName("card_management_info")
  22. public class CardManagementInfo extends SuperDO {
  23. private static final long serialVersionUID = 1L;
  24. /** */
  25. @TableId("id")
  26. private Long id;
  27. /** 个人id */
  28. @Excel(name = "个人id")
  29. @TableField("common_id")
  30. private Long commonId;
  31. /** 名片标识 */
  32. @Excel(name = "名片标识")
  33. @TableField("card_business")
  34. private String cardBusiness;
  35. /** 姓名 */
  36. @Excel(name = "姓名")
  37. @TableField("name")
  38. private String name;
  39. /** 职务 */
  40. @Excel(name = "职务")
  41. @TableField("post")
  42. private String post;
  43. /** 公司名 */
  44. @Excel(name = "公司名")
  45. @TableField("company_name")
  46. private String companyName;
  47. /** 定位 */
  48. @Excel(name = "定位")
  49. @TableField("location")
  50. private String location;
  51. /** 省 */
  52. @Excel(name = "省")
  53. @TableField("province")
  54. private String province;
  55. /** 市 */
  56. @Excel(name = "市")
  57. @TableField("city")
  58. private String city;
  59. /** 区 */
  60. @Excel(name = "区")
  61. @TableField("area")
  62. private String area;
  63. /** 详细地址 */
  64. @Excel(name = "详细地址")
  65. @TableField("detailed_address")
  66. private String detailedAddress;
  67. /** 联系电话 */
  68. @Excel(name = "联系电话")
  69. @TableField("phone")
  70. private String phone;
  71. /** 头像 */
  72. @Excel(name = "头像")
  73. @TableField("head_sculpture")
  74. private String headSculpture;
  75. /** 他人分享二维码 */
  76. @Excel(name = "他人分享二维码")
  77. @TableField("qr_code")
  78. private String qrCode;
  79. /** 个人展示二维码 */
  80. @Excel(name = "个人展示二维码")
  81. @TableField("qr_code_myself")
  82. private String qrCodeMyself;
  83. /** 置顶标识 */
  84. @Excel(name = "置顶标识")
  85. @TableField("top_marking")
  86. private Long topMarking;
  87. /** */
  88. @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
  89. @TableField("gmt_create")
  90. private Date gmtCreate;
  91. /** */
  92. @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
  93. @TableField("gmt_update")
  94. private Date gmtUpdate;
  95. /** 删除标识 */
  96. @Excel(name = "删除标识")
  97. @TableField("delete_flag")
  98. private Long deleteFlag;
  99. /**
  100. * 删除条件 1所有拥有此名片用户列表删除
  101. */
  102. @TableField(exist = false)
  103. private String deleteCondition;
  104. /**
  105. * 主页id
  106. */
  107. @TableField(exist = false)
  108. private Long personalHomeId;
  109. /** 允许圈子成员查看主页(1允许) */
  110. @TableField(exist = false)
  111. private Long lookPage;
  112. /** 交换按钮不显示标识(1不显示) */
  113. @TableField(exist = false)
  114. private Long notDisplay;
  115. /** 业务范围 */
  116. @TableField(exist = false)
  117. private String scopeOfBusiness;
  118. @Override
  119. public String toString() {
  120. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  121. .append("id", getId())
  122. .append("commonId", getCommonId())
  123. .append("cardBusiness", getCardBusiness())
  124. .append("name", getName())
  125. .append("post", getPost())
  126. .append("companyName", getCompanyName())
  127. .append("location", getLocation())
  128. .append("detailedAddress", getDetailedAddress())
  129. .append("phone", getPhone())
  130. .append("headSculpture", getHeadSculpture())
  131. .append("qrCode", getQrCode())
  132. .append("gmtCreate", getGmtCreate())
  133. .append("gmtUpdate", getGmtUpdate())
  134. .append("deleteFlag", getDeleteFlag())
  135. .toString();
  136. }
  137. }