package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.plan;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDateTime;
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
|
|
@Schema(description = "管理后台 - ERP 采购计划分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class ErpPurchasePlanPageReqVO extends PageParam {
|
|
@Schema(description = "采购计划单号", example = "CGJH001")
|
private String no;
|
|
@Schema(description = "计划名称", example = "2026年8月运维备件计划")
|
private String name;
|
|
@Schema(description = "状态", example = "0")
|
private Integer status;
|
|
@Schema(description = "需求来源(1=库存预警,2=运维/生产计划)", example = "1")
|
private Integer demandSource;
|
|
@Schema(description = "编制人编号", example = "1")
|
private Long planUserId;
|
|
@Schema(description = "编制部门编号", example = "1")
|
private Long planDeptId;
|
|
@Schema(description = "计划日期")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
private LocalDateTime[] planDate;
|
|
@Schema(description = "产品编号", example = "1")
|
private Long productId;
|
|
}
|