package thyyxxk.webserver.entity.makedbzfees;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author dj
 */
@Data
public class SaveZyFeesParam {
    private Integer cardType;
    @NotBlank(message = "住院号/门诊id不能为空。")
    private String cardNo;
    @NotBlank(message = "HIS单号不能为空。")
    private String hisOrdNum;
    @NotEmpty(message = "费用列表不能为空。")
    private List<MzChargeDetail> receipts;
    @NotNull(message = "总金额不能为空。")
    private Integer totalAmt;
}
