1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.talentcard.server.request;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(name = "CarWashCredentialSubmitRequest", description = "洗车凭证提交参数")
public record CarWashCredentialSubmitRequest(
        @NotNull Long talentId,
        @NotNull Long cardId,
        @Size(max = 9) @Schema(description = "洗车凭证或消费截图URL列表,普通商家可不传,手机号写入备注") List<@Size(max = 500) String> proofFiles,
        @Size(max = 500) String description,
        @Schema(description = "洗车消费时间") LocalDateTime consumeTime,
        @Size(max = 128) String idempotencyKey
) {}