package cn.reghao.oss.web.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 StoreNodeUpdateDto {
    @NotNull
    private Integer id;
    private String ipv4Addr;
    @NotBlank(message = "必须指定域名")
    private String domain;
    private String location;
}
