package com.vincent.rsf.openApi.entity.phyz; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.experimental.Accessors; import javax.validation.constraints.NotNull; @Data @JsonIgnoreProperties(ignoreUnknown = true) @Accessors(chain = true) @ApiModel(value = "Customer", description = "客户信息同步") public class Customer { // 客户编码,唯一标识 @NotNull @JsonProperty("customerId") private String customerId; // 客户名称 @JsonProperty("customerName") private String customerName; // 客户昵称 private String customerNickName; // 客户分组,国内,国外 private String customerGroup; // 联系人 private String contact; // 联系电话 private String telephone; // 邮箱 private String email; // 地址 private String address; // 操作类型,1 新增;2 修改;3禁用;4 反禁用; @JsonProperty("operateType") private Integer operateType; }