package cn.iocoder.yudao.module.system.controller.admin.yk.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Schema(description = "管理后台 - 送工费登记 Request VO")
@Data
public class YkDeliveryFeeRecordReqVO {

    @Schema(description = "送餐记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long mealId;

    @Schema(description = "长者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Long elderlyId;

    @Schema(description = "送工费金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "30")
    private BigDecimal amount;

    @Schema(description = "支付方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "wechat")
    private String paymentType;

    @Schema(description = "备注", example = "现场收取现金")
    private String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date mealTime;
}