package com.gxwebsoft.oa.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客户管理记录表查询参数
 *
 * @author WebSoft
 * @since 2022-11-16 11:16:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "CustomerParam对象", description = "客户管理记录表查询参数")
public class CustomerParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户ID")
    @QueryField(type = QueryType.EQ)
    private Integer customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "客户标识")
    private String customerCode;

    @ApiModelProperty(value = "客户全称")
    private String customerFullName;

    @ApiModelProperty(value = "头像")
    private String customerAvatar;

    @ApiModelProperty(value = "客户类型")
    private String customerType;

    @ApiModelProperty(value = "客户来源")
    private String customerSource;

    @ApiModelProperty(value = "公司座机")
    private String customerPhone;

    @ApiModelProperty(value = "手机号码")
    private String customerMobile;

    @ApiModelProperty(value = "联系人")
    private String customerContacts;

    @ApiModelProperty(value = "所在省份")
    private String customerProvince;

    @ApiModelProperty(value = "所在城市")
    private String customerCity;

    @ApiModelProperty(value = "所在地区")
    private String customerRegion;

    @ApiModelProperty(value = "所在地址")
    private String customerAddress;

    @ApiModelProperty(value = "跟进状态")
    private String progress;

    @ApiModelProperty(value = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "机构id")
    @QueryField(type = QueryType.EQ)
    private Integer organizationId;

    @ApiModelProperty(value = "可见性(public,private,protected)")
    private String visibility;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @ApiModelProperty(value = "按无企业类型查询")
    @QueryField(type = QueryType.EQ)
    private Boolean emptyType;

}
