package com.gxwebsoft.oa.param;

import com.baomidou.mybatisplus.annotation.TableField;
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;

import java.util.Set;

/**
 * 企业信息查询参数
 *
 * @author 科技小王子
 * @since 2023-10-23 19:18:58
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "CompanyParam对象", description = "企业信息查询参数")
public class CompanyParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "企业id")
    @QueryField(type = QueryType.EQ)
    private Integer companyId;

    @ApiModelProperty(value = "企业简称")
    private String shortName;

    @ApiModelProperty(value = "企业全称")
    private String companyName;

    @ApiModelProperty(value = "企业标识")
    private String companyCode;

    @ApiModelProperty(value = "类型 10企业 20政府单位")
    private String companyType;

    @ApiModelProperty(value = "企业类型多选")
    private String companyTypeMultiple;

    @ApiModelProperty(value = "应用标识")
    private String companyLogo;

    @ApiModelProperty(value = "应用类型")
    private String appType;

    @ApiModelProperty(value = "绑定域名")
    private String domain;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "发票抬头")
    private String invoiceHeader;

    @ApiModelProperty(value = "企业法人")
    private String businessEntity;

    @ApiModelProperty(value = "服务开始时间")
    private String startTime;

    @ApiModelProperty(value = "服务到期时间")
    private String expirationTime;

    @ApiModelProperty(value = "应用版本 10体验版 20授权版 30旗舰版")
    @QueryField(type = QueryType.EQ)
    private Integer version;

    @ApiModelProperty(value = "成员数量(人数上限)")
    @QueryField(type = QueryType.EQ)
    private Integer members;

    @ApiModelProperty(value = "成员数量(当前)")
    @QueryField(type = QueryType.EQ)
    private Integer users;

    @ApiModelProperty(value = "行业类型(父级)")
    private String industryParent;

    @ApiModelProperty(value = "行业类型(子级)")
    private String industryChild;

    @ApiModelProperty(value = "部门数量")
    @QueryField(type = QueryType.EQ)
    private Integer departments;

    @ApiModelProperty(value = "存储空间")
    private Long storage;

    @ApiModelProperty(value = "存储空间(上限)")
    private Long storageMax;

    @ApiModelProperty(value = "所在国家")
    private String country;

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

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

    @ApiModelProperty(value = "所在辖区")
    private String region;

    @ApiModelProperty(value = "街道地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

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

    @ApiModelProperty(value = "是否实名认证")
    @QueryField(type = QueryType.EQ)
    private Integer authentication;

    @ApiModelProperty(value = "企业默认主体")
    @QueryField(type = QueryType.EQ)
    private Integer authoritative;

    @ApiModelProperty(value = "request合法域名")
    private String requestUrl;

    @ApiModelProperty(value = "socket合法域名")
    private String socketUrl;

    @ApiModelProperty(value = "主控端域名")
    private String serverUrl;

    @ApiModelProperty(value = "业务域名")
    private String modulesUrl;

    @ApiModelProperty(value = "是否推荐")
    @QueryField(type = QueryType.EQ)
    private Integer recommend;

    @ApiModelProperty(value = "点赞数量")
    @QueryField(type = QueryType.EQ)
    private Integer likes;

    @ApiModelProperty(value = "点击数量")
    @QueryField(type = QueryType.EQ)
    private Integer clicks;

    @ApiModelProperty(value = "购买数量")
    @QueryField(type = QueryType.EQ)
    private Integer buys;

    @ApiModelProperty(value = "是否含税, 0不含, 1含")
    @QueryField(type = QueryType.EQ)
    private Integer isTax;

    @ApiModelProperty(value = "当前克隆的租户ID")
    @QueryField(type = QueryType.EQ)
    private Integer planId;

    @ApiModelProperty(value = "状态")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @ApiModelProperty(value = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

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

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

  @ApiModelProperty(value = "按companyId集搜索")
  @TableField(exist = false)
  private Set<Integer> companyIds;

}
