package org.dromara.payment.bill.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.payment.bill.domain.MerBill;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 账单业务对象 mer_bill
 *
 * @author LionLi
 * @date 2024-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AddBillBo extends MerBillBo {

    @NotNull
    @Size(min = 1,message = "账单详情不为空")
    private List<MerBillDetailBo> details;


    private String domain;
}
