|
|
@@ -0,0 +1,208 @@
|
|
|
+package com.mokamrp.privates.mapper.pojo;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import java.util.Date;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import com.baomidou.mybatisplus.activerecord.Model;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 企业
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author chenlongfei
|
|
|
+ * @since 2021-04-12
|
|
|
+ */
|
|
|
+@TableName("mc_corp")
|
|
|
+public class Corp extends Model<Corp> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+ /**
|
|
|
+ * 企业名称
|
|
|
+ */
|
|
|
+ private String name;
|
|
|
+ /**
|
|
|
+ * 企业微信ID
|
|
|
+ */
|
|
|
+ private String wxCorpid;
|
|
|
+ /**
|
|
|
+ * 企业代码(企业统一社会信用代码)
|
|
|
+ */
|
|
|
+ private String socialCode;
|
|
|
+ /**
|
|
|
+ * 企业通讯录secret
|
|
|
+ */
|
|
|
+ private String employeeSecret;
|
|
|
+ /**
|
|
|
+ * 事件回调地址
|
|
|
+ */
|
|
|
+ private String eventCallback;
|
|
|
+ /**
|
|
|
+ * 企业外部联系人secret
|
|
|
+ */
|
|
|
+ private String contactSecret;
|
|
|
+ /**
|
|
|
+ * 回调token
|
|
|
+ */
|
|
|
+ private String token;
|
|
|
+ /**
|
|
|
+ * 回调消息加密串
|
|
|
+ */
|
|
|
+ private String encodingAesKey;
|
|
|
+ /**
|
|
|
+ * 0关闭 1启用
|
|
|
+ */
|
|
|
+ private Integer power;
|
|
|
+ /**
|
|
|
+ * 租户ID
|
|
|
+ */
|
|
|
+ private Integer tenantId;
|
|
|
+ private Date createdAt;
|
|
|
+ private Date updatedAt;
|
|
|
+ private Date deletedAt;
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWxCorpid() {
|
|
|
+ return wxCorpid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWxCorpid(String wxCorpid) {
|
|
|
+ this.wxCorpid = wxCorpid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSocialCode() {
|
|
|
+ return socialCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSocialCode(String socialCode) {
|
|
|
+ this.socialCode = socialCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEmployeeSecret() {
|
|
|
+ return employeeSecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEmployeeSecret(String employeeSecret) {
|
|
|
+ this.employeeSecret = employeeSecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEventCallback() {
|
|
|
+ return eventCallback;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEventCallback(String eventCallback) {
|
|
|
+ this.eventCallback = eventCallback;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getContactSecret() {
|
|
|
+ return contactSecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContactSecret(String contactSecret) {
|
|
|
+ this.contactSecret = contactSecret;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getToken() {
|
|
|
+ return token;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setToken(String token) {
|
|
|
+ this.token = token;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEncodingAesKey() {
|
|
|
+ return encodingAesKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEncodingAesKey(String encodingAesKey) {
|
|
|
+ this.encodingAesKey = encodingAesKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getPower() {
|
|
|
+ return power;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPower(Integer power) {
|
|
|
+ this.power = power;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getTenantId() {
|
|
|
+ return tenantId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTenantId(Integer tenantId) {
|
|
|
+ this.tenantId = tenantId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreatedAt() {
|
|
|
+ return createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreatedAt(Date createdAt) {
|
|
|
+ this.createdAt = createdAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getUpdatedAt() {
|
|
|
+ return updatedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUpdatedAt(Date updatedAt) {
|
|
|
+ this.updatedAt = updatedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getDeletedAt() {
|
|
|
+ return deletedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDeletedAt(Date deletedAt) {
|
|
|
+ this.deletedAt = deletedAt;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "Corp{" +
|
|
|
+ ", id=" + id +
|
|
|
+ ", name=" + name +
|
|
|
+ ", wxCorpid=" + wxCorpid +
|
|
|
+ ", socialCode=" + socialCode +
|
|
|
+ ", employeeSecret=" + employeeSecret +
|
|
|
+ ", eventCallback=" + eventCallback +
|
|
|
+ ", contactSecret=" + contactSecret +
|
|
|
+ ", token=" + token +
|
|
|
+ ", encodingAesKey=" + encodingAesKey +
|
|
|
+ ", power=" + power +
|
|
|
+ ", tenantId=" + tenantId +
|
|
|
+ ", createdAt=" + createdAt +
|
|
|
+ ", updatedAt=" + updatedAt +
|
|
|
+ ", deletedAt=" + deletedAt +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|