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 {
|
|
|
/**
|
* wms是否允许打印货物标签, 默认可打印
|
*/
|
private Boolean flagPrinter;
|
|
/**
|
* 是否自动生成ASN单(默认:是),为『否』则开启PO单手动生成ASN单功能
|
*/
|
private Boolean flagAutoAsn;
|
|
|
|
@Data
|
@Configuration
|
@ConfigurationProperties(prefix = "stock.inspect")
|
public class InspectProperties {
|
/**
|
* 是否开启上架校验
|
*/
|
private Boolean flagAvailable;
|
|
/**
|
* 是否开启收货校验, 上架校验和收货校验,只会开启一个
|
*/
|
private Boolean flagReceiving;
|
|
}
|
|
}
|