package cn.reghao.oss.console.app.model.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author reghao
 * @date 2023-03-10 15:00:20
 */
@NoArgsConstructor
@Setter
@Getter
public class NodeUpdateDto {
    @NotNull
    private Integer id;
    private String nodeAddr;
    @NotBlank(message = "必须设置域名")
    private String domain;
    @NotBlank(message = "必须设置 SecretKey")
    private String secretKey;
    private String referer;
}
