package com.maintain.business.domain.bo;

import com.maintain.common.core.domain.BaseEntity;
import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 结算维修单业务对象 erp_settlement_maintain
 *
 * @author liushuai
 * @date 2025-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSettlementMaintainPayBo extends BaseEntity {

    /**
     * 结算单ID
     */
    @NotNull(message = "结算单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long id;

    /**
     * 付款码
     */
    @NotBlank(message = "付款码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String paymentAccount;
}
