package com.xunhong.erp.turbo.api.biz.dto.qry;

import com.xunhong.erp.turbo.api.biz.dto.enums.SupplierTypeEnum;
import com.xunhong.erp.turbo.base.dto.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "供应商分页查询")
@EqualsAndHashCode(callSuper = true)
public class SupplierPageQry extends PageQuery {

	@Schema(title = "供应商ID", type = "string")
	private Long supplierId;

	@Schema(title = "经销商ID", type = "string")
	private Long dealerId;

	@Schema(title = "供应商名称", type = "string")
	private String name;

	@Schema(title = "身份证号", type = "string")
	private String idCard;

	@Schema(title = "手机号", type = "string")
	private String phone;

	@Schema(title = "银行卡号", type = "string")
	private String bankCard;

	/**
	 * 供应商类型：1_瓜农；2_自家档口；3_其他家档口
	 */
	@Schema(title = "供应商类型：1_瓜农；2_自家档口；3_其他家档口")
	private SupplierTypeEnum type;
}

