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

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

/**
 * @author shenyifei
 */
@Data
@Schema(title = "供应商创建")
@EqualsAndHashCode(callSuper = true)
public class SupplierCreateCmd extends Command {

	/**
	 * 供应商ID
	 */
	@Schema(title = "供应商ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long supplierId;

	/**
	 * 姓名
	 */
	@Schema(title = "姓名", requiredMode = Schema.RequiredMode.REQUIRED)
	private String name;


	/**
	 * 收款人姓名
	 */
	@Schema(title = "收款人姓名")
	private String payeeName;

	/**
	 * 身份证号
	 */
	@Schema(title = "身份证号")
	private String idCard;

	/**
	 * 手机号
	 */
	@Schema(title = "手机号")
	private String phone;

	/**
	 * 银行卡号
	 */
	@Schema(title = "银行卡号", requiredMode = Schema.RequiredMode.REQUIRED)
	private String bankCard;

	/**
	 * 微信收款码URL
	 */
	@Schema(title = "微信收款码URL")
	private String wechatQr;

	/**
	 * 备注
	 */
	@Schema(title = "备注")
	private String remark;

	/**
	 * 状态：1_启用；0_禁用；
	 */
	@Schema(title = "状态：1_启用；0_禁用；", requiredMode = Schema.RequiredMode.REQUIRED)
	private Boolean status;

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

	/**
	 * 经销商ID
	 */
	@Schema(title = "经销商ID")
	private Long dealerId;
}

