package cn.iocoder.yudao.module.system.controller.admin.biz.vo.materialio;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 物资出入库单 Response VO")
@Data
public class MaterialIoOrderRespVO {

    private Long id;

    private String orderNo;

    private String bizType;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate;

    private String inSource;

    private String inReason;

    @Schema(description = "领用部门ID")
    private Long outDeptId;

    @Schema(description = "领用部门名称")
    private String outDeptName;

    private String outUser;

    private String outReason;

    private String remark;

    private Long tenantId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String creator;

    private String updater;

    private List<MaterialIoOrderItemRespVO> items;
}
