|
|
@@ -0,0 +1,163 @@
|
|
|
+package com.mokamrp.privates.mapper.pojo;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 客户标签
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author gy
|
|
|
+ * @since 2021-06-29
|
|
|
+ */
|
|
|
+@TableName("mc_work_contact_tag")
|
|
|
+public class WorkContactTag extends Model<WorkContactTag> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业标签ID
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 微信企业标签ID
|
|
|
+ */
|
|
|
+ private String wxContactTagId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业表ID (mc_corp.id)
|
|
|
+ */
|
|
|
+ private Integer corpId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签名称
|
|
|
+ */
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ */
|
|
|
+ private Integer order;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 客户标签分组ID(mc_work_contract_tag_group.id)
|
|
|
+ */
|
|
|
+ private Integer contactTagGroupId;
|
|
|
+
|
|
|
+ private LocalDateTime createdAt;
|
|
|
+
|
|
|
+ private LocalDateTime updatedAt;
|
|
|
+
|
|
|
+ private LocalDateTime deletedAt;
|
|
|
+
|
|
|
+ private String wxGroupId;
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWxContactTagId() {
|
|
|
+ return wxContactTagId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWxContactTagId(String wxContactTagId) {
|
|
|
+ this.wxContactTagId = wxContactTagId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getCorpId() {
|
|
|
+ return corpId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCorpId(Integer corpId) {
|
|
|
+ this.corpId = corpId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getOrder() {
|
|
|
+ return order;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrder(Integer order) {
|
|
|
+ this.order = order;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getContactTagGroupId() {
|
|
|
+ return contactTagGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactTagGroupId(Integer contactTagGroupId) {
|
|
|
+ this.contactTagGroupId = contactTagGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getCreatedAt() {
|
|
|
+ return createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreatedAt(LocalDateTime createdAt) {
|
|
|
+ this.createdAt = createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getUpdatedAt() {
|
|
|
+ return updatedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUpdatedAt(LocalDateTime updatedAt) {
|
|
|
+ this.updatedAt = updatedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getDeletedAt() {
|
|
|
+ return deletedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDeletedAt(LocalDateTime deletedAt) {
|
|
|
+ this.deletedAt = deletedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWxGroupId() {
|
|
|
+ return wxGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWxGroupId(String wxGroupId) {
|
|
|
+ this.wxGroupId = wxGroupId;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "WorkContactTag{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", wxContactTagId=" + wxContactTagId +
|
|
|
+ ", corpId=" + corpId +
|
|
|
+ ", name=" + name +
|
|
|
+ ", order=" + order +
|
|
|
+ ", contactTagGroupId=" + contactTagGroupId +
|
|
|
+ ", createdAt=" + createdAt +
|
|
|
+ ", updatedAt=" + updatedAt +
|
|
|
+ ", deletedAt=" + deletedAt +
|
|
|
+ ", wxGroupId=" + wxGroupId +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|