package com.crm.rely.backend.core.entity.oss;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class OssSignEntity {

    @NotNull(message = "文件类型不能为空")
    @Min(value = 1, message = "请选择正确文件类型")
    @Max(value = 2, message = "请选择正确文件类型")
    private Integer fileType;

    private Long typeId;

    private Long loginId;

    private String ip;
}
