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

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;

@Schema(description = "管理后台 - 出库退回单分页 Response VO")
@Data
public class MaterialOutboundReturnOrderPageRespVO {

    @Schema(description = "退回单ID", example = "1")
    private Long id;

    @Schema(description = "退回单号")
    private String orderNo;

    @Schema(description = "原出库单ID")
    private Long sourceOutboundOrderId;

    @Schema(description = "原出库单单号")
    private String sourceOutboundOrderNo;

    @Schema(description = "退回日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "租户ID")
    private Long tenantId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "操作人")
    private String creator;

    @Schema(description = "退回原因")
    private String returnReason;
}

