| | |
| | | package com.talentcard.server.request; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Size; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @Schema(name = "CarWashCredentialSubmitRequest", description = "\u6d17\u8f66\u51ed\u8bc1\u63d0\u4ea4\u53c2\u6570") |
| | | @Schema(name = "CarWashCredentialSubmitRequest", description = "洗车凭证提交参数") |
| | | public record CarWashCredentialSubmitRequest( |
| | | @NotNull Long talentId, |
| | | @NotNull Long cardId, |
| | | @NotEmpty @Size(max = 9) @Schema(description = "\u6d17\u8f66\u51ed\u8bc1\u6216\u6d88\u8d39\u622a\u56feURL\u5217\u8868") List<@Size(max = 500) String> proofFiles, |
| | | @Size(max = 9) @Schema(description = "洗车凭证或消费截图URL列表,普通商家可不传,手机号写入备注") List<@Size(max = 500) String> proofFiles, |
| | | @Size(max = 500) String description, |
| | | @Schema(description = "\u6d17\u8f66\u6d88\u8d39\u65f6\u95f4") LocalDateTime consumeTime, |
| | | @Schema(description = "洗车消费时间") LocalDateTime consumeTime, |
| | | @Size(max = 128) String idempotencyKey |
| | | ) {} |