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

import com.alibaba.cola.dto.DTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "经销商仓库")
@EqualsAndHashCode(callSuper = true)
public class DealerWarehouseVO extends DTO {

	/**
	 * 仓库ID
	 */
	@Schema(title = "仓库ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long warehouseId;

	/**
	 * 经销商ID
	 */
	@Schema(title = "经销商ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long dealerId;

	/**
	 * 经销商账户ID
	 */
	@Schema(title = "经销商账户ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long accountId;

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

	/**
	 * 仓库地址
	 */
	@Schema(title = "仓库地址", requiredMode = Schema.RequiredMode.REQUIRED)
	private String address;

	/**
	 * 联系人
	 */
	@Schema(title = "联系人")
	private String contactPerson;

	/**
	 * 联系电话
	 */
	@Schema(title = "联系电话")
	private String contactPhone;

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

	/**
	 * 收货人电话
	 */
	@Schema(title = "收货人电话")
	private String receiverPhone;

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

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

	/**
	 * 创建时间
	 */
	@Schema(title = "创建时间")
	private LocalDateTime createdAt;

	/**
	 * 经销商信息
	 */
	@Schema(title = "经销商信息")
	private DealerVO dealerVO;

	/**
	 * 经销商账户信息
	 */
	@Schema(title = "经销商账户信息")
	private DealerPaymentAccountVO dealerPaymentAccountVO;

}

