created call api in 2 steps
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package net.gepafin.tendermanagement.model.request;
|
||||
|
||||
import lombok.Data;
|
||||
import net.gepafin.tendermanagement.enums.CallTypeEnum;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class CreateCallRequestStep1 {
|
||||
|
||||
@NotEmpty
|
||||
private String name;
|
||||
|
||||
@NotEmpty
|
||||
private String descriptionShort;
|
||||
|
||||
@NotEmpty
|
||||
private String descriptionLong;
|
||||
|
||||
@NotNull
|
||||
private LocalDateTime startDate;
|
||||
|
||||
@NotNull
|
||||
private LocalDateTime endDate;
|
||||
|
||||
@NotNull
|
||||
private Long regionId;
|
||||
|
||||
@NotNull
|
||||
private BigDecimal amount;
|
||||
|
||||
@NotNull
|
||||
private BigDecimal amountMax;
|
||||
|
||||
@NotNull
|
||||
private List<LookUpDataReq> aimedTo;
|
||||
|
||||
@NotEmpty
|
||||
private String documentationRequested;
|
||||
|
||||
private Boolean Confidi;
|
||||
|
||||
private List<FaqReq> faq;
|
||||
|
||||
@NotNull
|
||||
private CallTypeEnum status;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user