Merge remote-tracking branch 'origin/master'

# Conflicts:
#	dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java
master
river 4 years ago
commit c81c97abc7
  1. 2
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/CustomerEntity.java
  2. 43
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CrmsConstant.java
  3. 6
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/request/CustomerRequest.java

@ -29,7 +29,7 @@ public class CustomerEntity implements Serializable {
*/ */
private String code; private String code;
/** /**
* 客户类型 * 客户类型1企业类型0个人类型
*/ */
private Integer type; private Integer type;
/** /**

@ -0,0 +1,43 @@
package com.daqing.framework.domain.crms.ext;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
/**
* @Author: gongsj.
* @Description: 定义客户资源管理系统的一些常量
* @Date:Created in 2020/09/08 17:05.
* @Modified By:
*/
public class CrmsConstant {
/**
* 客户类型1企业类型0个人类型
*/
@AllArgsConstructor
public enum customerType {
/**
* 个人类型
*/
PONSONAL_CUSTOMER(0, "个人类型"),
/**
* 企业类型
*/
COMPANY_CUSTOMER(1, "企业类型");
/**
* 类型代号
*/
@Setter
@Getter
private Integer type;
/**
* 类型名称
*/
@Setter
@Getter
private String typeName;
}
}

@ -1,5 +1,11 @@
package com.daqing.framework.domain.crms.request; package com.daqing.framework.domain.crms.request;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import lombok.Data; import lombok.Data;
import lombok.ToString; import lombok.ToString;

Loading…
Cancel
Save