package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购计划对象 sys_oa_warehouse_task
 *
 * @author hdka
 * @date 2025-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oa_warehouse_task")
public class SysOaWarehouseTask extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "task_id")
    private Long taskId;
    /**
     * 绑定采购单
     */
    private Long masterId;
    /**
     * 物料名
     */
    private String name;
    /**
     * 型号
     */
    private String model;
    /**
     * 计划入库
     */
    private Long taskInventory;

    /**
     * 物料id
     */
    private Long warehouseId;
    /**
     * 品牌
     */
    private String brand;
    /**
     * 规格
     */
    private String specifications;
    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;
    /**
     * 备注
     */
    private String remark;

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



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

    private String unit;

}
