package cn.ysk.cashier.dto.shoptable;

import lombok.Data;

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

@Data
public class PayDTO {
    @NotNull
    private Integer shopId;
    @NotNull
    private Integer orderId;
    @NotEmpty
    private String payType;
    @Min(0)
    @Max(1)
    private Double discount;
    private Integer vipUserId;
    private String code;
}
