package com.tourguide.modules.order.dto; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; /** 小程序发起讲解订单请求。 */ public class MiniOrderCreateRequest { @NotNull(message = "景区不能为空") private Long scenicSpotId; @NotNull(message = "汇合点不能为空") private Long meetingPointId; @NotNull(message = "讲解套餐不能为空") private Long servicePackageId; @NotNull(message = "讲解人数不能为空") @Min(value = 1, message = "讲解人数至少为 1 人") private Integer peopleCount; public Long getScenicSpotId() { return scenicSpotId; } public void setScenicSpotId(Long scenicSpotId) { this.scenicSpotId = scenicSpotId; } public Long getMeetingPointId() { return meetingPointId; } public void setMeetingPointId(Long meetingPointId) { this.meetingPointId = meetingPointId; } public Long getServicePackageId() { return servicePackageId; } public void setServicePackageId(Long servicePackageId) { this.servicePackageId = servicePackageId; } public Integer getPeopleCount() { return peopleCount; } public void setPeopleCount(Integer peopleCount) { this.peopleCount = peopleCount; } }