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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
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;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

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

    private Long id;

    private String orderNo;

    private Integer status;

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

    private String inSource;

    private String inReason;

    private Long supplierId;

    private String remark;

    private Long tenantId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String creator;

    private String updater;

    private String auditor;
    private String auditResult;
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime auditTime;
    private String auditRemark;

    private List<MaterialInboundOrderItemRespVO> items;
}

