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

import com.xunhong.erp.turbo.base.dto.Command;
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 WarehouseCreateCmd extends Command {

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

	/**
	 * 仓库名称 (e.g., &quot;北京总仓&quot;, &quot;上海分仓&quot;)。
	 */
	@Schema(title = "仓库名称 (e.g., &quot;北京总仓&quot;, &quot;上海分仓&quot;)。")
	private String name;

	/**
	 * 仓库地址
	 */
	@Schema(title = "仓库地址")
	private String address;

	/**
	 * 仓库管理员
	 */
	@Schema(title = "仓库管理员")
	private String manager;

	/**
	 * 联系方式
	 */
	@Schema(title = "联系方式")
	private String contactPhone;

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

}

