package com.zhongshu.card.client.openApi.model.order;

import com.zhongshu.card.client.openApi.base.ProjectCodeParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * openAPI 创建订单
 * @author TRX
 * @date 2025/3/11
 */
@Data
public class OrderCreateParam extends ProjectCodeParam {

    @Schema(description = "设备id")
    private String deviceId;

    @Schema(description = "消费号(用于识别上传数据不重复")
    private String orderNo;

    @Schema(description = "金额，单位：元")
    private BigDecimal amount;

    @Schema(description = "创建订单用户userId")
    private String createUserId;

}
