package com.vincent.rsf.server.common.config;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author Ryan
|
* @version 1.0
|
* @title SysStockFlowProperties
|
* @description
|
* @create 2025/3/5 17:02
|
*/
|
@Data
|
@Configuration
|
@ConfigurationProperties(prefix = "stock")
|
public class SysStockFlowProperties {
|
|
|
|
|
|
@Data
|
@Configuration
|
@ConfigurationProperties(prefix = "stock.inspect")
|
public class InspectProperties {
|
/**
|
* 是否开启上架校验
|
*/
|
private Boolean flagAvailable;
|
|
/**
|
* 是否开启收货校验, 上架校验和收货校验,只会开启一个
|
*/
|
private Boolean flagReceiving;
|
|
}
|
|
}
|