package cn.iocoder.yudao.module.pay.controller.admin.divide.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 分账单新增/修改 Request VO")
@Data
public class DivideSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8729")
    private Long id;

    @Schema(description = "渠道编号", example = "11564")
    private Long channelId;

    @Schema(description = "渠道编码")
    private String channelCode;

    @Schema(description = "总金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "30938")
    @NotNull(message = "总金额，单位：分不能为空")
    private Integer totalPrice;

    @Schema(description = "分账状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "分账状态不能为空")
    private String status;

    @Schema(description = "商户分账单号")
    private String no;

    @Schema(description = "渠道订单号")
    private String channelOrderNo;

    @Schema(description = "微信分账单号", example = "3065")
    private String orderId;
    /**
     * 渠道用户编号
     */
    private String channelUserId;
}