liujie
2026-08-21 ad5db85e540947e82c7a4d5612879b3b3ecdf459
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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; }
}