package com.yuchen.saas.payment.api.dto.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/6/28 9:21
 */
@Data
public class CreateCompletedOrderReqDTO {

    /**
     * 支付金额
     */
    @ApiModelProperty(name = "payCost", value = "支付金额")
    @NotNull(message = "支付金额不能为空")
    private Long payCost;

    /**
     * 账单id
     */
    @NotBlank(message = "账单id不能为空")
    @ApiModelProperty(name = "billId", value = "账单id")
    private String billId;

    /**
     * 账单类型 （押金传:42）
     */
    @ApiModelProperty(name = "billType", value = "账单类型")
    private Integer billType;

    /**
     * 数据来源号 后台添加默认传pc
     */
    @ApiModelProperty(name = "dataSourceNo", value = "数据来源号")
    private String dataSourceNo = "pc";

    @ApiModelProperty(value = "支付类型，详情见枚举PayTypeEnum")
    private String payType;

    @ApiModelProperty(value = "订单大类，详情见枚举OrderClassifyEnum")
    private String orderClassify;

    @ApiModelProperty(value = "用户手机号")
    private String phone;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "operator", value = "客户id")
    private Long operator;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private String parkId;
    /**
     * 场站id（物业传房源id）
     */
    @ApiModelProperty(name = "siteId", value = "场站id")
    private Long siteId;

}
