2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
 
}