package com.jojubanking.boot.module.system.framework.tjfiles;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.time.Duration;

@ConfigurationProperties(prefix = "joju.tjfiles")
@Validated
@Data

public class TjfilesProperties {
    /**
     * 文件路径
     */
    @NotNull(message = "文件路径不能为空")
    private String tjfilespath;

    /**
     * ip地址
     */
    @NotNull(message = "ip地址不能为空")
    private String ipport;

}
