package com.ruoyi.oa.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import java.util.List;

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

/**
 * 出库单管理业务对象 sys_oa_warehouse_master
 *
 * @author hdak
 * @date 2025-03-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysOaWarehouseMasterBo extends BaseEntity {

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

    private String masterNum;

    /**
     * 0出库单1入库单2采购单
     */
    private Long type;

    /**
     * 绑定项目
     */
    private Long projectId;

    /**
     * 编写日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signTime;

    /**
     * 导入人
     */
    private String signUser;

    /**
     * 备注
     */
    private String remark;

    /**
     * 涉及物料
     */
    private List<SysOaWarehouseDetailBo> warehouseList;

    /**
     * 采购物料详情列表
     */
    private List<SysOaWarehouseTaskBo> warehouseTaskList;

    private Long status;

}
