package cn.iocoder.yudao.module.mdm.api.warehouse.dto;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Schema(description = "RPC 服务 - MDM 仓库 Response DTO")
|
@Data
|
public class MdmWarehouseRespDTO {
|
|
@Schema(description = "仓库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long id;
|
|
@Schema(description = "仓库编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "WH001")
|
private String code;
|
|
@Schema(description = "仓库名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "原料仓")
|
private String name;
|
|
@Schema(description = "仓库地址", example = "上海市浦东新区")
|
private String address;
|
|
@Schema(description = "面积(平方米)", example = "1000")
|
private BigDecimal area;
|
|
@Schema(description = "仓库类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Integer type;
|
|
@Schema(description = "负责人用户ID", example = "1")
|
private Long chargeUserId;
|
|
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
private Integer status;
|
|
@Schema(description = "是否冻结", example = "false")
|
private Boolean frozen;
|
|
}
|