package com.ruoyi.oa.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;



/**
 * 采购计划视图对象 sys_oa_warehouse_task
 *
 * @author hdka
 * @date 2025-03-30
 */
@Data
@ExcelIgnoreUnannotated
public class SysOaWarehouseTaskVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long taskId;

    /**
     * 绑定采购单
     */
    @ExcelProperty(value = "绑定采购单")
    private Long masterId;

    /**
     * 物料名
     */
    @ExcelProperty(value = "物料名")
    private String name;

    /**
     * 型号
     */
    @ExcelProperty(value = "型号")
    private String model;

    /**
     * 计划入库
     */
    @ExcelProperty(value = "计划入库")
    private Long taskInventory;

    /**
     * 品牌
     */
    @ExcelProperty(value = "品牌")
    private String brand;

    /**
     * 规格
     */
    @ExcelProperty(value = "规格")
    private String specifications;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 物料id
     */
    private Long warehouseId;

    /**
     * 采购细节状态
     */
    private Long taskStatus;


    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 单位
     */
    private String unit;

}
